Skip to content

Commit

Permalink
fix(move_semantics5): Clarify instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ana committed Jul 29, 2021
1 parent 8e313cf commit df25684
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions exercises/move_semantics/move_semantics5.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// move_semantics5.rs
// Make me compile without adding, removing, or changing any of the
// lines in `main()`.
// Make me compile only be reordering the lines in `main()`, but without
// adding, changing or removing any of them.
// Execute `rustlings hint move_semantics5` for hints :)

// I AM NOT DONE
Expand Down
5 changes: 1 addition & 4 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,7 @@ vogue. Does it help to update the value of referent (x) immediately after
the mutable reference is taken? Read more about 'Mutable References'
in the book's section References and Borrowing':
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.
Additional hint:
If you can't add, change, or remove any statements in `main()`, can you
reorder them in a way that lets the program compile?"""
"""

# PRIMITIVE TYPES

Expand Down

0 comments on commit df25684

Please sign in to comment.