mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
chore: Fix link to Arc<T> in the book
This commit is contained in:
parent
34e31232df
commit
080d6cdd11
1 changed files with 1 additions and 1 deletions
|
@ -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 :)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue