Skip to content

Commit f023e42

Browse files
committed
minor change to docs
1 parent 20d24d4 commit f023e42

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
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)