@@ -309,7 +309,7 @@ In Rust, there are two ways to define a Vector.
309309 inside the square brackets. This way is simpler when you exactly know
310310 the initial values.
311311
312- Check this chapter: https://doc.rust-lang.org/stable/ book/ch08-01-vectors.html
312+ Check this chapter: https://doc.rust-lang.org/book/ch08-01-vectors.html
313313of the Rust book to learn more."""
314314
315315[[exercises ]]
@@ -378,7 +378,7 @@ dir = "06_move_semantics"
378378test = false
379379hint = """
380380To find the answer, you can consult the book section "References and Borrowing":
381- https://doc.rust-lang.org/stable/ book/ch04-02-references-and-borrowing.html
381+ https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html
382382
383383The first problem is that `get_char` is taking ownership of the string. So
384384`data` is moved and can't be used for `string_uppercase`. `data` is moved to
@@ -416,7 +416,7 @@ to its fields.
416416
417417There are however some shortcuts that can be taken when instantiating structs.
418418Have a look in The Book to find out more:
419- https://doc.rust-lang.org/stable/ book/ch05-01-defining-structs.html#creating-instances-from-other-instances-with-struct-update-syntax"""
419+ https://doc.rust-lang.org/book/ch05-01-defining-structs.html#creating-instances-from-other-instances-with-struct-update-syntax"""
420420
421421[[exercises ]]
422422name = " structs3"
@@ -487,7 +487,7 @@ to add one character to the `if` statement, though, that will coerce the
487487Side note: If you're interested in learning about how this kind of reference
488488conversion works, you can jump ahead in the book and read this part in the
489489smart pointers chapter:
490- https://doc.rust-lang.org/stable/ book/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods"""
490+ https://doc.rust-lang.org/book/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods"""
491491
492492[[exercises ]]
493493name = " strings3"
@@ -561,7 +561,7 @@ hint = """
561561Use the `entry()` and `or_insert()` methods of `HashMap` to achieve this.
562562
563563Learn more in The Book:
564- https://doc.rust-lang.org/stable/ book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value"""
564+ https://doc.rust-lang.org/book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value"""
565565
566566[[exercises ]]
567567name = " hashmaps3"
@@ -572,7 +572,7 @@ Hint 1: Use the `entry()` and `or_insert()` (or `or_insert_with()`) methods of
572572 exist in the table yet.
573573
574574Learn more in The Book:
575- https://doc.rust-lang.org/stable/ book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value
575+ https://doc.rust-lang.org/book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value
576576
577577Hint 2: If there is already an entry for a given key, the value returned by
578578 `entry()` can be updated based on the existing value.
@@ -739,7 +739,7 @@ name = "generics2"
739739dir = " 14_generics"
740740hint = """
741741Related section in The Book:
742- https://doc.rust-lang.org/stable/ book/ch10-01-syntax.html#in-method-definitions"""
742+ https://doc.rust-lang.org/book/ch10-01-syntax.html#in-method-definitions"""
743743
744744# TRAITS
745745
@@ -871,7 +871,7 @@ We expect the method `Rectangle::new` to panic for negative values.
871871To handle that, you need to add a special attribute to the test function.
872872
873873You can refer to the docs:
874- https://doc.rust-lang.org/stable/ book/ch11-01-writing-tests.html#checking-for-panics-with-should_panic"""
874+ https://doc.rust-lang.org/book/ch11-01-writing-tests.html#checking-for-panics-with-should_panic"""
875875
876876# STANDARD LIBRARY TYPES
877877
@@ -1007,7 +1007,7 @@ thread-local copy of the numbers.
10071007This is a simple exercise if you understand the underlying concepts, but if this
10081008is too much of a struggle, consider reading through all of Chapter 16 in The
10091009Book:
1010- https://doc.rust-lang.org/stable/ book/ch16-00-concurrency.html"""
1010+ https://doc.rust-lang.org/book/ch16-00-concurrency.html"""
10111011
10121012[[exercises ]]
10131013name = " cow1"
0 commit comments