Skip to content

Commit 423d810

Browse files
committed
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.
2 parents 96734ae + ddcec08 commit 423d810

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)