diff --git a/maitake-sync/src/blocking/rwlock.rs b/maitake-sync/src/blocking/rwlock.rs index dc4bac24..bd21957e 100644 --- a/maitake-sync/src/blocking/rwlock.rs +++ b/maitake-sync/src/blocking/rwlock.rs @@ -186,7 +186,7 @@ impl RwLock { /// # Examples /// /// ``` - /// use maitake_sync::spin::RwLock; + /// use maitake_sync::blocking::RwLock; /// /// let lock = RwLock::new(5); /// # drop(lock); @@ -327,7 +327,7 @@ impl RwLock { /// # Examples /// /// ``` - /// let mut lock = maitake_sync::spin::RwLock::new(0); + /// let mut lock = maitake_sync::blocking::RwLock::new(0); /// *lock.get_mut() = 10; /// assert_eq!(*lock.read(), 10); /// ```