fix(move_semantics5): Clarify instructions
This commit is contained in:
parent
8e313cffaa
commit
df25684cb7
@ -1,6 +1,6 @@
|
|||||||
// move_semantics5.rs
|
// move_semantics5.rs
|
||||||
// Make me compile without adding, removing, or changing any of the
|
// Make me compile only be reordering the lines in `main()`, but without
|
||||||
// lines in `main()`.
|
// adding, changing or removing any of them.
|
||||||
// Execute `rustlings hint move_semantics5` for hints :)
|
// Execute `rustlings hint move_semantics5` for hints :)
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
@ -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'
|
the mutable reference is taken? Read more about 'Mutable References'
|
||||||
in the book's section References and Borrowing':
|
in the book's section References and Borrowing':
|
||||||
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.
|
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
|
# PRIMITIVE TYPES
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user