]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys_common/rwlock.rs
Rollup merge of #97516 - RalfJung:atomics, r=joshtriplett
[rust.git] / library / std / src / sys_common / rwlock.rs
index 265cebfdc3e0a22cd96472732ece92426ceef2e8..ba56f3a8f1b5263b5a46d84848b27f702b7b3b90 100644 (file)
@@ -62,12 +62,12 @@ fn drop(&mut self) {
 
 /// An OS-based reader-writer lock.
 ///
-/// This rwlock does *not* have a const constructor, cleans up its resources in
-/// its `Drop` implementation and may safely be moved (when not borrowed).
+/// This rwlock cleans up its resources in its `Drop` implementation and may
+/// safely be moved (when not borrowed).
 ///
 /// This rwlock does not implement poisoning.
 ///
-/// This is either a wrapper around `Box<imp::RwLock>` or `imp::RwLock`,
+/// This is either a wrapper around `LazyBox<imp::RwLock>` or `imp::RwLock`,
 /// depending on the platform. It is boxed on platforms where `imp::RwLock` may
 /// not be moved.
 pub struct MovableRwLock(imp::MovableRwLock);