Skip to content

Commit

Permalink
Unrolled build for rust-lang#133337
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#133337 - ColinFinck:thread-scoped-fix-typo, r=joboet

Fix typo in `std::thread::Scope::spawn` documentation.

Just a simple fix for a typo that caught my attention.
  • Loading branch information
rust-timer authored Nov 22, 2024
2 parents a7d9ebd + d0384f3 commit 6754ad6
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 6754ad6

Please sign in to comment.