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.
This commit is contained in:
commit
423d810986
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ pub fn current() -> Thread {
|
||||||
/// Thus the pattern of `yield`ing after a failed poll is rather common when
|
/// Thus the pattern of `yield`ing after a failed poll is rather common when
|
||||||
/// implementing low-level shared resources or synchronization primitives.
|
/// 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
|
/// [`Mutex`]es or [`join`] for their synchronization routines, as they avoid
|
||||||
/// thinking about thread scheduling.
|
/// thinking about thread scheduling.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue