Skip to content

Commit 13850a6

Browse files
authored
Update 04_scoped_threads.md (#258)
Improved phrasing for the `scope` h2
1 parent a7865ba commit 13850a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: book/src/07_threads/04_scoped_threads.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Let's unpack what's happening.
2727
## `scope`
2828

2929
The `std::thread::scope` function creates a new **scope**.\
30-
`std::thread::scope` takes as input a closure, with a single argument: a `Scope` instance.
30+
`std::thread::scope` takes a closure as input, with a single argument: a `Scope` instance.
3131

3232
## Scoped spawns
3333

0 commit comments

Comments
 (0)