From 13850a6b019f5dadc990fdb4aacdc4509cd880d6 Mon Sep 17 00:00:00 2001 From: David Ekete <88355936+davidekete@users.noreply.github.com> Date: Sat, 8 Feb 2025 10:21:56 +0100 Subject: [PATCH] Update 04_scoped_threads.md (#258) 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 f9bfdd7..ef88cbb 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