Skip to content

Commit

Permalink
Fix typo in std::thread::Scope::spawn documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFinck committed Nov 22, 2024
1 parent 40d6e2c commit 9693572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/thread/scoped.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl<'scope, 'env> Scope<'scope, 'env> {
/// thread. If the spawned thread panics, [`join`] will return an [`Err`] containing
/// the panic payload.
///
/// If the join handle is dropped, the spawned thread will implicitly joined at the
/// If the join handle is dropped, the spawned thread will be implicitly joined at the
/// end of the scope. In that case, if the spawned thread panics, [`scope`] will
/// panic after all threads are joined.
///
Expand Down

0 comments on commit 9693572

Please sign in to comment.