File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
// move_semantics3.rs
2
2
// Make me compile without adding new lines-- just changing existing lines!
3
3
// (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.
5
5
6
6
// I AM NOT DONE
7
7
Original file line number Diff line number Diff line change 1
1
// 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.
6
6
7
7
// I AM NOT DONE
8
8
Original file line number Diff line number Diff line change 1
1
// move_semantics5.rs
2
2
// Make me compile only by reordering the lines in `main()`, but without
3
3
// 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.
5
5
6
6
// I AM NOT DONE
7
7
Original file line number Diff line number Diff line change 1
1
// 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.
4
4
5
5
// I AM NOT DONE
6
6
You can’t perform that action at this time.
0 commit comments