Compare commits

..

1 commit

Author SHA1 Message Date
Matthias e126825707
Merge 77b687d501 into d140d49b61 2024-06-13 19:16:04 +00:00

View file

@ -318,7 +318,7 @@ name = "move_semantics1"
path = "exercises/06_move_semantics/move_semantics1.rs" path = "exercises/06_move_semantics/move_semantics1.rs"
mode = "test" mode = "test"
hint = """ hint = """
So you've got the "cannot borrow `vec` as mutable, as it is not declared as mutable" So you've got the "cannot borrow immutable local variable `vec` as mutable"
error on the line where we push an element to the vector, right? error on the line where we push an element to the vector, right?
The fix for this is going to be adding one keyword, and the addition is NOT on The fix for this is going to be adding one keyword, and the addition is NOT on