Skip to content

Commit df25684

Browse files
author
ana
committed
fix(move_semantics5): Clarify instructions
1 parent 8e313cf commit df25684

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

exercises/move_semantics/move_semantics5.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// move_semantics5.rs
2-
// Make me compile without adding, removing, or changing any of the
3-
// lines in `main()`.
2+
// Make me compile only be reordering the lines in `main()`, but without
3+
// adding, changing or removing any of them.
44
// Execute `rustlings hint move_semantics5` for hints :)
55

66
// I AM NOT DONE

info.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,7 @@ vogue. Does it help to update the value of referent (x) immediately after
220220
the mutable reference is taken? Read more about 'Mutable References'
221221
in the book's section References and Borrowing':
222222
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.
223-
224-
Additional hint:
225-
If you can't add, change, or remove any statements in `main()`, can you
226-
reorder them in a way that lets the program compile?"""
223+
"""
227224

228225
# PRIMITIVE TYPES
229226

0 commit comments

Comments
 (0)