about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-11-16 16:22:48 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-11-16 16:22:48 -0500
commit0050895637bae07070c3441d17accb6d9444a711 (patch)
treeb111734ce1d471b768b38705fc87809fbd90a8d0 /src/libstd/sync
parentbc6c16d4cbd1771280d1c629902184dfbc8a2877 (diff)
parent55ca08969428e185b896bb9b2518372f57522126 (diff)
downloadrust-0050895637bae07070c3441d17accb6d9444a711.tar.gz
rust-0050895637bae07070c3441d17accb6d9444a711.zip
Rollup merge of #29865 - apasel422:mutex, r=alexcrichton
r? @alexcrichton
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/mutex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs
index c0cd6d127d2..48631bfc5f9 100644
--- a/src/libstd/sync/mutex.rs
+++ b/src/libstd/sync/mutex.rs
@@ -66,7 +66,7 @@ use sys_common::poison::{self, TryLockError, TryLockResult, LockResult};
 /// for _ in 0..10 {
 ///     let (data, tx) = (data.clone(), tx.clone());
 ///     thread::spawn(move || {
-///         // The shared static can only be accessed once the lock is held.
+///         // The shared state can only be accessed once the lock is held.
 ///         // Our non-atomic increment is safe because we're the only thread
 ///         // which can access the shared state when the lock is held.
 ///         //