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