fix(move_semantics2): add expected output comment

You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
pull/1384/head
Sebastian Törnquist 2 years ago committed by GitHub
parent bec7be05f5
commit fef8314d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save