summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorSebastian Törnquist <sebb.tornquist@gmail.com>2023-02-18 18:43:34 +0100
committerGitHub <noreply@github.com>2023-02-18 18:43:34 +0100
commitfef8314d3d45aa1ec3655cd6e9a52f877da51c23 (patch)
treed48331fa52a392391233c797a7cdd118809a0e0b /exercises
parentbec7be05f55bc17732bbae529b85b476bb8c7448 (diff)
fix(move_semantics2): add expected output comment
You can easily get this to compile with `vec0` being `[]` and `vec1` being `[22, 44, 66, 88]`
Diffstat (limited to 'exercises')
-rw-r--r--exercises/move_semantics/move_semantics2.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/exercises/move_semantics/move_semantics2.rs b/exercises/move_semantics/move_semantics2.rs
index 6487085..68dbf02 100644
--- a/exercises/move_semantics/move_semantics2.rs
+++ b/exercises/move_semantics/move_semantics2.rs
@@ -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() {