mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-10 14:44:25 +00:00
fix(move_semantics2): add expected output comment
You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
This commit is contained in:
parent
bec7be05f5
commit
fef8314d3d
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
// Make me compile without changing line 13 or moving line 10!
|
||||
// Execute `rustlings hint move_semantics2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// Expected output:
|
||||
// vec0 has length 3 content `[22, 44, 66]`
|
||||
// vec1 has length 4 content `[22, 44, 66, 88]`
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
|
|
Loading…
Reference in a new issue