Skip to content

Commit 09e6665

Browse files
committed
Fix typo in documentation.
1 parent 2c8cc70 commit 09e6665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/thread/scoped.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl ScopeData {
5050
/// The function passed to `scope` will be provided a [`Scope`] object,
5151
/// through which scoped threads can be [spawned][`Scope::spawn`].
5252
///
53-
/// Unlike non-scoped threads, scoped threads can non-`'static` data,
53+
/// Unlike non-scoped threads, scoped threads can borrow non-`'static` data,
5454
/// as the scope guarantees all threads will be joined at the end of the scope.
5555
///
5656
/// All threads spawned within the scope that haven't been manually joined

0 commit comments

Comments
 (0)