docs: Fix typo in std/src/thread/scoped.rs

This commit is contained in:
Olivier Amacker
2026-04-17 19:33:21 +02:00
parent 4dbafc340b
commit 10cc6c4a39
+1 -1
View File
@@ -177,7 +177,7 @@ impl<'scope, 'env> Scope<'scope, 'env> {
/// Spawns a new thread within a scope, returning a [`ScopedJoinHandle`] for it.
///
/// Unlike non-scoped threads, threads spawned with this function may
/// borrow non-`'static` data from the outside the scope. See [`scope`] for
/// borrow non-`'static` data from outside the scope. See [`scope`] for
/// details.
///
/// The join handle provides a [`join`] method that can be used to join the spawned