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 2cf7908 commit d0384f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 d0384f3

Please sign in to comment.