Fix typo in Scope::spawn docs.

Co-authored-by: deltragon <m@dafert.at>
This commit is contained in:
Mara Bos 2022-01-04 18:43:23 +00:00 committed by GitHub
parent c429ade760
commit 5b5746f081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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