Skip to content

Commit 2e62505

Browse files
feat(move_semantics): finish updating comments
1 parent 16ff57b commit 2e62505

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

exercises/move_semantics/move_semantics3.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// move_semantics3.rs
22
// Make me compile without adding new lines-- just changing existing lines!
33
// (no lines with multiple semicolons necessary!)
4-
// Execute `rustlings hint move_semantics3` for hints :)
4+
// Execute `rustlings hint move_semantics3` or use the `hint` watch subcommand for a hint.
55

66
// I AM NOT DONE
77

exercises/move_semantics/move_semantics4.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// move_semantics4.rs
2-
// Refactor this code so that instead of having `vec0` and creating the vector
3-
// in `fn main`, we create it within `fn fill_vec` and transfer the
4-
// freshly created vector from fill_vec to its caller.
5-
// Execute `rustlings hint move_semantics4` for hints!
2+
// Refactor this code so that instead of passing `vec0` into the `fill_vec` function,
3+
// the Vector gets created in the function itself and passed back to the main
4+
// function.
5+
// Execute `rustlings hint move_semantics4` or use the `hint` watch subcommand for a hint.
66

77
// I AM NOT DONE
88

exercises/move_semantics/move_semantics5.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// move_semantics5.rs
22
// Make me compile only by reordering the lines in `main()`, but without
33
// adding, changing or removing any of them.
4-
// Execute `rustlings hint move_semantics5` for hints :)
4+
// Execute `rustlings hint move_semantics5` or use the `hint` watch subcommand for a hint.
55

66
// I AM NOT DONE
77

exercises/move_semantics/move_semantics6.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// move_semantics6.rs
2-
// Make me compile! `rustlings hint move_semantics6` for hints
3-
// You can't change anything except adding or removing references
2+
// Execute `rustlings hint move_semantics6` or use the `hint` watch subcommand for a hint.
3+
// You can't change anything except adding or removing references.
44

55
// I AM NOT DONE
66

0 commit comments

Comments
 (0)