@@ -318,7 +318,7 @@ name = "move_semantics1"
318
318
path = " exercises/06_move_semantics/move_semantics1.rs"
319
319
mode = " test"
320
320
hint = """
321
- So you've got the "cannot borrow immutable local variable `vec` as mutable"
321
+ So you've got the "cannot borrow `vec` as mutable, as it is not declared as mutable"
322
322
error on the line where we push an element to the vector, right?
323
323
324
324
The fix for this is going to be adding one keyword, and the addition is NOT on
@@ -378,7 +378,7 @@ path = "exercises/06_move_semantics/move_semantics5.rs"
378
378
mode = " test"
379
379
hint = """
380
380
Carefully reason about the range in which each mutable reference is in
381
- scope. Does it help to update the value of referent ( `x`) immediately after
381
+ scope. Does it help to update the value of `x` immediately after
382
382
the mutable reference is taken? Read more about 'Mutable References'
383
383
in the book's section 'References and Borrowing':
384
384
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.
@@ -816,7 +816,7 @@ path = "exercises/15_traits/traits4.rs"
816
816
mode = " test"
817
817
hint = """
818
818
Instead of using concrete types as parameters you can use traits. Try replacing
819
- the '??' with 'impl < what goes here?> '
819
+ the '??' with 'impl [ what goes here?] '
820
820
821
821
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
822
822
"""
@@ -827,7 +827,7 @@ path = "exercises/15_traits/traits5.rs"
827
827
mode = " compile"
828
828
hint = """
829
829
To ensure a parameter implements multiple traits use the '+ syntax'. Try
830
- replacing the '??' with 'impl <> + <> '.
830
+ replacing the '??' with 'impl [what goes here?] + [what goes here?] '.
831
831
832
832
See the documentation at: https://doc.rust-lang.org/book/ch10-02-traits.html#specifying-multiple-trait-bounds-with-the--syntax
833
833
"""
0 commit comments