about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-08 12:17:36 +0000
committerbors <bors@rust-lang.org>2018-10-08 12:17:36 +0000
commit423d8109868c1f926f2cfcc3bff980c3daa515fd (patch)
treeee040a05c04307074ec91ddb4d393d8c4c5ee18e /src/libstd/thread
parent96734ae0d4e376c3abd03b4b16f6dfc00f886ea1 (diff)
parentddcec08a549bb61e94907affc73738eb7435d45b (diff)
downloadrust-423d8109868c1f926f2cfcc3bff980c3daa515fd.tar.gz
rust-423d8109868c1f926f2cfcc3bff980c3daa515fd.zip
Auto merge of #54871 - u32i64:master, r=frewsxcv
Remove unnecessary comma in `libstd/thread/mod.rs` doc comment

Fix typo in `libstd/thread/mod.rs` doc comment: 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.
 ///