From 09e6665ababf2c3ee258af1f151f7f375626b4f3 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Tue, 4 Jan 2022 17:05:12 +0100 Subject: [PATCH] Fix typo in documentation. --- library/std/src/thread/scoped.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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