Skip to content

Commit 0050895

Browse files
committed
Rollup merge of #29865 - apasel422:mutex, r=alexcrichton
r? @alexcrichton
2 parents bc6c16d + 55ca089 commit 0050895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use sys_common::poison::{self, TryLockError, TryLockResult, LockResult};
6666
/// for _ in 0..10 {
6767
/// let (data, tx) = (data.clone(), tx.clone());
6868
/// thread::spawn(move || {
69-
/// // The shared static can only be accessed once the lock is held.
69+
/// // The shared state can only be accessed once the lock is held.
7070
/// // Our non-atomic increment is safe because we're the only thread
7171
/// // which can access the shared state when the lock is held.
7272
/// //

0 commit comments

Comments
 (0)