Skip to content

Commit 33d54c4

Browse files
authored
Rollup merge of #101606 - akhi3030:patch-1, r=Dylan-DPC
doc: fix minor typo
2 parents 2386ed9 + 1933b74 commit 33d54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/thread/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
//! Threads are able to have associated names for identification purposes. By default, spawned
117117
//! threads are unnamed. To specify a name for a thread, build the thread with [`Builder`] and pass
118118
//! the desired thread name to [`Builder::name`]. To retrieve the thread name from within the
119-
//! thread, use [`Thread::name`]. A couple examples of where the name of a thread gets used:
119+
//! thread, use [`Thread::name`]. A couple of examples where the name of a thread gets used:
120120
//!
121121
//! * If a panic occurs in a named thread, the thread name will be printed in the panic message.
122122
//! * The thread name is provided to the OS where applicable (e.g., `pthread_setname_np` in

0 commit comments

Comments
 (0)