We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Mutex
1 parent 57c8a3e commit 55ca089Copy full SHA for 55ca089
src/libstd/sync/mutex.rs
@@ -66,7 +66,7 @@ use sys_common::poison::{self, TryLockError, TryLockResult, LockResult};
66
/// for _ in 0..10 {
67
/// let (data, tx) = (data.clone(), tx.clone());
68
/// thread::spawn(move || {
69
-/// // The shared static can only be accessed once the lock is held.
+/// // The shared state can only be accessed once the lock is held.
70
/// // Our non-atomic increment is safe because we're the only thread
71
/// // which can access the shared state when the lock is held.
72
/// //
0 commit comments