mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-16 12:12:54 +00:00
Merge pull request #1974 from hamirmahal/refactor/remove-referent-for-readability
refactor: remove `referent` to improve readability
This commit is contained in:
commit
c7a18b0781
@ -378,7 +378,7 @@ path = "exercises/06_move_semantics/move_semantics5.rs"
|
|||||||
mode = "test"
|
mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
Carefully reason about the range in which each mutable reference is in
|
Carefully reason about the range in which each mutable reference is in
|
||||||
scope. Does it help to update the value of referent (`x`) immediately after
|
scope. Does it help to update the value of `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.
|
||||||
|
Loading…
Reference in New Issue
Block a user