about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2015-11-16 12:56:18 -0500
committerAndrew Paseltiner <apaseltiner@gmail.com>2015-11-16 12:56:18 -0500
commit55ca08969428e185b896bb9b2518372f57522126 (patch)
treec80b02dfd30537f0a7851fc80bd6798335394303 /src/libstd/sync
parent57c8a3e8b6a3200bb01d0ea60e4686a1ecfcb907 (diff)
downloadrust-55ca08969428e185b896bb9b2518372f57522126.tar.gz
rust-55ca08969428e185b896bb9b2518372f57522126.zip
Correct comment in `Mutex` example
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.
 ///         //