Skip to content

Commit 42b5c0a

Browse files
authored
Merge pull request #1997 from jphilis/main
chore: update error message to error message given by rustc (error[E0596]) in hint
2 parents d140d49 + 1ede3a8 commit 42b5c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ name = "move_semantics1"
318318
path = "exercises/06_move_semantics/move_semantics1.rs"
319319
mode = "test"
320320
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"
322322
error on the line where we push an element to the vector, right?
323323
324324
The fix for this is going to be adding one keyword, and the addition is NOT on

0 commit comments

Comments
 (0)