File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
library/std/src/sys_common Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,12 @@ impl Drop for StaticMutexGuard {
4646
4747/// An OS-based mutual exclusion lock.
4848///
49- /// This mutex does *not* have a const constructor, cleans up its resources in
50- /// its `Drop` implementation, may safely be moved (when not borrowed), and
51- /// does not cause UB when used reentrantly.
49+ /// This mutex cleans up its resources in its `Drop` implementation, may safely
50+ /// be moved (when not borrowed), and does not cause UB when used reentrantly.
5251///
5352/// This mutex does not implement poisoning.
5453///
55- /// This is either a wrapper around `Box <imp::Mutex>` or `imp::Mutex`,
54+ /// This is either a wrapper around `LazyBox <imp::Mutex>` or `imp::Mutex`,
5655/// depending on the platform. It is boxed on platforms where `imp::Mutex` may
5756/// not be moved.
5857pub struct MovableMutex ( imp:: MovableMutex ) ;
Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ impl Drop for StaticRwLockWriteGuard {
6262
6363/// An OS-based reader-writer lock.
6464///
65- /// This rwlock does *not* have a const constructor, cleans up its resources in
66- /// its `Drop` implementation and may safely be moved (when not borrowed).
65+ /// This rwlock cleans up its resources in its `Drop` implementation and may
66+ /// safely be moved (when not borrowed).
6767///
6868/// This rwlock does not implement poisoning.
6969///
70- /// This is either a wrapper around `Box <imp::RwLock>` or `imp::RwLock`,
70+ /// This is either a wrapper around `LazyBox <imp::RwLock>` or `imp::RwLock`,
7171/// depending on the platform. It is boxed on platforms where `imp::RwLock` may
7272/// not be moved.
7373pub struct MovableRwLock ( imp:: MovableRwLock ) ;
You can’t perform that action at this time.
0 commit comments