Skip to content

Commit 0e12fe6

Browse files
authored
Update spawnhook.rs
1 parent a4a60d0 commit 0e12fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/thread/spawnhook.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use crate::thread::Thread;
66
crate::thread_local! {
77
/// A thread local linked list of spawn hooks.
88
///
9-
/// It is a linked list of Arcs, such that it can very cheaply be inhereted by spawned threads.
9+
/// It is a linked list of Arcs, such that it can very cheaply be inherited by spawned threads.
1010
///
1111
/// (That technically makes it a set of linked lists with shared tails, so a linked tree.)
1212
static SPAWN_HOOKS: Cell<SpawnHooks> = const { Cell::new(SpawnHooks { first: None }) };

0 commit comments

Comments
 (0)