about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorArtem Varaksa <aymfst@gmail.com>2018-10-06 20:09:54 +0300
committerArtem Varaksa <aymfst@gmail.com>2018-10-06 20:09:54 +0300
commitddcec08a549bb61e94907affc73738eb7435d45b (patch)
tree4ad81e5f154e7de3ea90f29313557e0c1e60fd65 /src/libstd/thread
parentb4d9835f6c1ea0af804d11f79e329f76efd05df6 (diff)
downloadrust-ddcec08a549bb61e94907affc73738eb7435d45b.tar.gz
rust-ddcec08a549bb61e94907affc73738eb7435d45b.zip
Fix typo in libstd/thread/mod.rs: remove unnecessary comma
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 3987ae83866..c8d54a63946 100644
--- a/src/libstd/thread/mod.rs
+++ b/src/libstd/thread/mod.rs
@@ -576,7 +576,7 @@ pub fn current() -> Thread {
 /// Thus the pattern of `yield`ing after a failed poll is rather common when
 /// implementing low-level shared resources or synchronization primitives.
 ///
-/// However programmers will usually prefer to use, [`channel`]s, [`Condvar`]s,
+/// However programmers will usually prefer to use [`channel`]s, [`Condvar`]s,
 /// [`Mutex`]es or [`join`] for their synchronization routines, as they avoid
 /// thinking about thread scheduling.
 ///