mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Fix typo in Scope::spawn docs.
Co-authored-by: deltragon <m@dafert.at>
This commit is contained in:
parent
c429ade760
commit
5b5746f081
@ -144,7 +144,7 @@ impl<'env> Scope<'env> {
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the OS fails to create a thread; use [`Builder::spawn`]
|
||||
/// Panics if the OS fails to create a thread; use [`Builder::spawn_scoped`]
|
||||
/// to recover from such errors.
|
||||
///
|
||||
/// [`join`]: ScopedJoinHandle::join
|
||||
|
Loading…
Reference in New Issue
Block a user