Skip to content

Commit b0a1973

Browse files
committed
minor change to docs
1 parent f673d0c commit b0a1973

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/std/src/sync/nonpoison/mutex.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ use crate::sys::sync as sys;
3737
/// // The shared state can only be accessed once the lock is held.
3838
/// // Our non-atomic increment is safe because we're the only thread
3939
/// // which can access the shared state when the lock is held.
40-
///
4140
/// let mut data = data.lock();
4241
/// *data += 1;
4342
/// if *data == N {

0 commit comments

Comments
 (0)