From 996556c13f7a949c8218e855e82e20966234befc Mon Sep 17 00:00:00 2001 From: David Ekete <88355936+davidekete@users.noreply.github.com> Date: Sat, 8 Feb 2025 09:33:39 +0100 Subject: [PATCH] Update 04_scoped_threads.md Improved phrasing for the `scope` h2 --- book/src/07_threads/04_scoped_threads.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/07_threads/04_scoped_threads.md b/book/src/07_threads/04_scoped_threads.md index f9bfdd7617..ef88cbb592 100644 --- a/book/src/07_threads/04_scoped_threads.md +++ b/book/src/07_threads/04_scoped_threads.md @@ -27,7 +27,7 @@ Let's unpack what's happening. ## `scope` The `std::thread::scope` function creates a new **scope**.\ -`std::thread::scope` takes as input a closure, with a single argument: a `Scope` instance. +`std::thread::scope` takes a closure as input, with a single argument: a `Scope` instance. ## Scoped spawns