From ddcec08a549bb61e94907affc73738eb7435d45b Mon Sep 17 00:00:00 2001 From: Artem Varaksa Date: Sat, 6 Oct 2018 20:09:54 +0300 Subject: [PATCH] Fix typo in libstd/thread/mod.rs: remove unnecessary comma --- src/libstd/thread/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/thread/mod.rs b/src/libstd/thread/mod.rs index 3987ae83866e5..c8d54a63946a9 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. ///