about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2018-07-27 14:44:20 +0300
committerGitHub <noreply@github.com>2018-07-27 14:44:20 +0300
commit5f87f78b148c1825b92514580f47866c5ae67fbb (patch)
tree35d7af6780797243ed0a3b7b55a8d6286524838f /src/libstd/thread
parent922bf1d2acf7b779fddd1bc05415d4d9052f9ec2 (diff)
downloadrust-5f87f78b148c1825b92514580f47866c5ae67fbb.tar.gz
rust-5f87f78b148c1825b92514580f47866c5ae67fbb.zip
Fix ws
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs
index 6f3945301e4..e9bd0332d98 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -731,7 +731,7 @@ const NOTIFIED: usize = 2;
 ///   specifying a maximum time to block the thread for.
 ///
 /// * The [`unpark`] method on a [`Thread`] atomically makes the token available
-///   if it wasn't already. Because the token is initially absent, [`unpark`] 
+///   if it wasn't already. Because the token is initially absent, [`unpark`]
 ///   followed by [`park`] will result in the second call returning immediately.
 ///
 /// In other words, each [`Thread`] acts a bit like a spinlock that can be