diff options
| author | Colin Finck <colin@reactos.org> | 2024-11-22 11:51:38 +0100 |
|---|---|---|
| committer | Colin Finck <colin@reactos.org> | 2024-11-22 11:51:38 +0100 |
| commit | d0384f3ba5caa6871ce45b4ca90743d546fa698c (patch) | |
| tree | 0d931c85bc017c8f59e1b00578f858edcc3046e0 | |
| parent | 2cf7908998e5010ffdedede39f88fa2590e9c830 (diff) | |
| download | rust-d0384f3ba5caa6871ce45b4ca90743d546fa698c.tar.gz rust-d0384f3ba5caa6871ce45b4ca90743d546fa698c.zip | |
Fix typo in `std::thread::Scope::spawn` documentation.
| -rw-r--r-- | library/std/src/thread/scoped.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/thread/scoped.rs b/library/std/src/thread/scoped.rs index b2305b1eda7..a14446b3515 100644 --- a/library/std/src/thread/scoped.rs +++ b/library/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. /// |
