We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d140d49 + 1ede3a8 commit 42b5c0aCopy full SHA for 42b5c0a
info.toml
@@ -318,7 +318,7 @@ name = "move_semantics1"
318
path = "exercises/06_move_semantics/move_semantics1.rs"
319
mode = "test"
320
hint = """
321
-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"
322
error on the line where we push an element to the vector, right?
323
324
The fix for this is going to be adding one keyword, and the addition is NOT on
0 commit comments