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 b75d2aa + d3fea5f commit 9a6e57eCopy full SHA for 9a6e57e
exercises/move_semantics/move_semantics2.rs
@@ -1,5 +1,4 @@
1
// move_semantics2.rs
2
-// Make me compile without changing line 17 or moving line 14!
3
// Execute `rustlings hint move_semantics2` or use the `hint` watch subcommand for a hint.
4
5
// Expected output:
@@ -11,6 +10,7 @@
11
10
fn main() {
12
let vec0 = Vec::new();
13
+ // Do not move the following line!
14
let mut vec1 = fill_vec(vec0);
15
16
// Do not change the following line!
0 commit comments