Update 04_scoped_threads.md (#258)

Improved phrasing for  the `scope` h2
This commit is contained in:
David Ekete authored and GitHub committed 2025-02-08 10:21:56 +01:00
1 parent a7865baf3c
commit 13850a6b01
1 file changed
+1 -1
+1 -1
View File
@@ -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