File tree 2 files changed +6
-7
lines changed
library/std/src/sys_common
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 {
46
46
47
47
/// An OS-based mutual exclusion lock.
48
48
///
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.
52
51
///
53
52
/// This mutex does not implement poisoning.
54
53
///
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`,
56
55
/// depending on the platform. It is boxed on platforms where `imp::Mutex` may
57
56
/// not be moved.
58
57
pub struct MovableMutex ( imp:: MovableMutex ) ;
Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ impl Drop for StaticRwLockWriteGuard {
62
62
63
63
/// An OS-based reader-writer lock.
64
64
///
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).
67
67
///
68
68
/// This rwlock does not implement poisoning.
69
69
///
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`,
71
71
/// depending on the platform. It is boxed on platforms where `imp::RwLock` may
72
72
/// not be moved.
73
73
pub struct MovableRwLock ( imp:: MovableRwLock ) ;
You can’t perform that action at this time.
0 commit comments