Skip to content

Commit 8ed2cf7

Browse files
authored
Update move_semantics2.rs
1 parent c74e0bf commit 8ed2cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/move_semantics/move_semantics2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// move_semantics2.rs
2-
// Make me compile without changing line 17 or moving line 14!
32
// Execute `rustlings hint move_semantics2` or use the `hint` watch subcommand for a hint.
43

54
// Expected output:
@@ -11,6 +10,7 @@
1110
fn main() {
1211
let vec0 = Vec::new();
1312

13+
// Do not move the following line!
1414
let mut vec1 = fill_vec(vec0);
1515

1616
// Do not change the following line!

0 commit comments

Comments
 (0)