Skip to content

Commit ddcec08

Browse files
committed
Fix typo in libstd/thread/mod.rs: remove unnecessary comma
1 parent b4d9835 commit ddcec08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ pub fn current() -> Thread {
576576
/// Thus the pattern of `yield`ing after a failed poll is rather common when
577577
/// implementing low-level shared resources or synchronization primitives.
578578
///
579-
/// However programmers will usually prefer to use, [`channel`]s, [`Condvar`]s,
579+
/// However programmers will usually prefer to use [`channel`]s, [`Condvar`]s,
580580
/// [`Mutex`]es or [`join`] for their synchronization routines, as they avoid
581581
/// thinking about thread scheduling.
582582
///

0 commit comments

Comments
 (0)