mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-10-22 00:00:03 +03:00
Compare commits
3 commits
e126825707
...
effd88593c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
effd88593c | ||
![]() |
42b5c0a1f7 | ||
![]() |
1ede3a82e9 |
|
@ -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 immutable local variable `vec` as mutable"
|
||||
So you've got the "cannot borrow `vec` as mutable, as it is not declared 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