summaryrefslogtreecommitdiff
path: root/exercises/threads/threads1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-23 10:31:50 +0000
committerbors <bors@rust-lang.org>2019-06-23 10:31:50 +0000
commitaaad60d07eb4f765a63f52bdbbd53282d276e636 (patch)
tree9e7de1ec9b268f21f5d733faa1aee683de136436 /exercises/threads/threads1.rs
parent5f16469807147a2b4bd2e7cb072e7c3f0e96703f (diff)
parent63c133e4a3f48bc15a75797dcea98bcf2f81cf2e (diff)
Auto merge of #172 - miller-time:fix-book-links, r=komaeda
chore: Fix a couple broken book links While I was fixing these, I figured maybe it's good to just use a consistent URL for book links: https://doc.rust-lang.org/book/ Is there a plan for what to do with this old 1.4.0 example that doesn't exist in the current version of the book? Perhaps at least include a disclaimer when recommending that folks check it out? https://github.com/rust-lang/rustlings/blob/34e31232dfddde284a341c9609b33cd27d9d5724/exercises/threads/README.md#L1
Diffstat (limited to 'exercises/threads/threads1.rs')
-rw-r--r--exercises/threads/threads1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/threads/threads1.rs b/exercises/threads/threads1.rs
index 9b9cdcd..7983668 100644
--- a/exercises/threads/threads1.rs
+++ b/exercises/threads/threads1.rs
@@ -45,7 +45,7 @@ fn main() {
// 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
// mutate the data at a time. Take a look at this section of the book:
-// https://doc.rust-lang.org/stable/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct
+// https://doc.rust-lang.org/book/ch16-03-shared-state.html#atomic-reference-counting-with-arct
// and keep scrolling if you'd like more hints :)