mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-11 00:00:04 +03:00
Compare commits
No commits in common. "42b5c0a1f7d4bb5c58a1535092d29c1b49df41de" and "d140d49b6135119a20be4689cf8bb6b13fdaa69d" have entirely different histories.
42b5c0a1f7
...
d140d49b61
|
@ -318,7 +318,7 @@ name = "move_semantics1"
|
|||
path = "exercises/06_move_semantics/move_semantics1.rs"
|
||||
mode = "test"
|
||||
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?
|
||||
|
||||
The fix for this is going to be adding one keyword, and the addition is NOT on
|
||||
|
|
Loading…
Reference in a new issue