mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +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
|
||||||
///
|
///
|
||||||
/// 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.
|
/// to recover from such errors.
|
||||||
///
|
///
|
||||||
/// [`join`]: ScopedJoinHandle::join
|
/// [`join`]: ScopedJoinHandle::join
|
||||||
|
Loading…
Reference in New Issue
Block a user