From 9693572a6e3fd06ecce2e4b6b94ae383fc63a794 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Fri, 22 Nov 2024 11:51:38 +0100 Subject: [PATCH] Fix typo in `std::thread::Scope::spawn` documentation. --- std/src/thread/scoped.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/thread/scoped.rs b/std/src/thread/scoped.rs index b2305b1eda7e1..a14446b35155a 100644 --- a/std/src/thread/scoped.rs +++ b/std/src/thread/scoped.rs @@ -176,7 +176,7 @@ impl<'scope, 'env> Scope<'scope, 'env> { /// thread. If the spawned thread panics, [`join`] will return an [`Err`] containing /// the panic payload. /// - /// If the join handle is dropped, the spawned thread will implicitly joined at the + /// If the join handle is dropped, the spawned thread will be implicitly joined at the /// end of the scope. In that case, if the spawned thread panics, [`scope`] will /// panic after all threads are joined. ///