chore: Fix link to Arc<T> in the book

This commit is contained in:
Rohan Prinja 2019-06-09 01:54:01 -07:00 committed by liv
parent 34e31232df
commit 080d6cdd11
1 changed files with 1 additions and 1 deletions

View File

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