Fix typo in std:🧵:Scope::spawn documentation.

This commit is contained in:
Colin Finck
2024-11-22 11:51:38 +01:00
parent 2cf7908998
commit d0384f3ba5

View File

@@ -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.
///