mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Update move_semantics2.rs
This commit is contained in:
parent
c74e0bfd18
commit
8ed2cf7ef5
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
|||
// move_semantics2.rs
|
||||
// Make me compile without changing line 17 or moving line 14!
|
||||
// Execute `rustlings hint move_semantics2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// Expected output:
|
||||
|
@ -11,6 +10,7 @@
|
|||
fn main() {
|
||||
let vec0 = Vec::new();
|
||||
|
||||
// Do not move the following line!
|
||||
let mut vec1 = fill_vec(vec0);
|
||||
|
||||
// Do not change the following line!
|
||||
|
|
Loading…
Reference in a new issue