mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Fix typo in std:🧵:Scope::spawn
documentation.
This commit is contained in:
parent
2cf7908998
commit
d0384f3ba5
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user