Skip to content

Commit fef8314

Browse files
authored
fix(move_semantics2): add expected output comment
You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
1 parent bec7be0 commit fef8314

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exercises/move_semantics/move_semantics2.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Make me compile without changing line 13 or moving line 10!
33
// Execute `rustlings hint move_semantics2` or use the `hint` watch subcommand for a hint.
44

5+
// Expected output:
6+
// vec0 has length 3 content `[22, 44, 66]`
7+
// vec1 has length 4 content `[22, 44, 66, 88]`
8+
59
// I AM NOT DONE
610

711
fn main() {

0 commit comments

Comments
 (0)