about summary refs log tree commit diff
path: root/library/std/src/thread
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2022-01-04 17:05:12 +0100
committerMara Bos <m-ou.se@m-ou.se>2022-01-04 17:05:26 +0100
commit09e6665ababf2c3ee258af1f151f7f375626b4f3 (patch)
tree54fcb989ed2d698712dd68bfe6fb82aa1b4a6c74 /library/std/src/thread
parent2c8cc70ea045e3d22ccb3eacb83bb748c717abc7 (diff)
downloadrust-09e6665ababf2c3ee258af1f151f7f375626b4f3.tar.gz
rust-09e6665ababf2c3ee258af1f151f7f375626b4f3.zip
Fix typo in documentation.
Diffstat (limited to 'library/std/src/thread')
-rw-r--r--library/std/src/thread/scoped.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/scoped.rs b/library/std/src/thread/scoped.rs
index cc44eccc0a0..35e3dba5411 100644
--- a/library/std/src/thread/scoped.rs
+++ b/library/std/src/thread/scoped.rs
@@ -50,7 +50,7 @@ impl ScopeData {
 /// The function passed to `scope` will be provided a [`Scope`] object,
 /// through which scoped threads can be [spawned][`Scope::spawn`].
 ///
-/// Unlike non-scoped threads, scoped threads can non-`'static` data,
+/// Unlike non-scoped threads, scoped threads can borrow non-`'static` data,
 /// as the scope guarantees all threads will be joined at the end of the scope.
 ///
 /// All threads spawned within the scope that haven't been manually joined