Skip to content

Commit 080d6cd

Browse files
ajnirpkomaeda
authored andcommitted
chore: Fix link to Arc<T> in the book
1 parent 34e3123 commit 080d6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/threads/threads1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn main() {
4545
// to **immutable** data. But we want to *change* the number of `jobs_completed`
4646
// so we'll need to also use another type that will only allow one thread to
4747
// mutate the data at a time. Take a look at this section of the book:
48-
// https://doc.rust-lang.org/stable/book/second-edition/ch16-03-shared-state.html#atomic-reference-counting-with-arct
48+
// https://doc.rust-lang.org/stable/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct
4949
// and keep scrolling if you'd like more hints :)
5050

5151

0 commit comments

Comments
 (0)