Skip to content

Commit af76794

Browse files
committed
info.toml: update threads2 text.
the previous text does not appear in the provided link (https://doc.rust-lang.org/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct).
1 parent 64035f7 commit af76794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ and keep reading if you'd like more hints :)
10091009
Do you now have an `Arc` `Mutex` `JobStatus` at the beginning of main? Like:
10101010
`let status = Arc::new(Mutex::new(JobStatus { jobs_completed: 0 }));`
10111011
Similar to the code in the example in the book that happens after the text
1012-
that says "We can use Arc<T> to fix this.". If not, give that a try! If you
1012+
that says "Sharing a Mutex<T> Between Multiple Threads". If not, give that a try! If you
10131013
do and would like more hints, keep reading!!
10141014
10151015

0 commit comments

Comments
 (0)