Skip to content

Commit

Permalink
Rollup merge of rust-lang#101606 - akhi3030:patch-1, r=Dylan-DPC
Browse files Browse the repository at this point in the history
doc: fix minor typo
  • Loading branch information
Dylan-DPC authored Sep 10, 2022
2 parents 2386ed9 + 1933b74 commit 33d54c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/thread/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
//! Threads are able to have associated names for identification purposes. By default, spawned
//! threads are unnamed. To specify a name for a thread, build the thread with [`Builder`] and pass
//! the desired thread name to [`Builder::name`]. To retrieve the thread name from within the
//! thread, use [`Thread::name`]. A couple examples of where the name of a thread gets used:
//! thread, use [`Thread::name`]. A couple of examples where the name of a thread gets used:
//!
//! * If a panic occurs in a named thread, the thread name will be printed in the panic message.
//! * The thread name is provided to the OS where applicable (e.g., `pthread_setname_np` in
Expand Down

0 comments on commit 33d54c4

Please sign in to comment.