Skip to content

Commit d0384f3

Browse files
committed
Fix typo in std::thread::Scope::spawn documentation.
1 parent 2cf7908 commit d0384f3

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
@@ -176,7 +176,7 @@ impl<'scope, 'env> Scope<'scope, 'env> {
176176
/// thread. If the spawned thread panics, [`join`] will return an [`Err`] containing
177177
/// the panic payload.
178178
///
179-
/// If the join handle is dropped, the spawned thread will implicitly joined at the
179+
/// If the join handle is dropped, the spawned thread will be implicitly joined at the
180180
/// end of the scope. In that case, if the spawned thread panics, [`scope`] will
181181
/// panic after all threads are joined.
182182
///

0 commit comments

Comments
 (0)