fix: move_semantics5 hints

Improve the hints for move_semantics5, as well as the explanatory
comments in the code.

Previously, it was not clear what possible changes were allowed.
It seems that reordering the statements might be the intended solution.
The previous comment about not "adding newlines" doesn't make sense,
so treating it as "adding new lines" makes it more clear.
This commit is contained in:
Taylor Yu
2021-05-22 22:09:58 -05:00
parent 4c46e5e1a3
commit 1b85828548
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
// move_semantics5.rs
// Make me compile without adding any newlines or removing any of the lines.
// Make me compile without adding, removing, or changing any of the
// lines in `main()`.
// Execute `rustlings hint move_semantics5` for hints :)
// I AM NOT DONE