Merge pull request #1974 from hamirmahal/refactor/remove-referent-for-readability

refactor: remove `referent` to improve readability
This commit is contained in:
Mo 2024-05-13 00:15:28 +02:00 committed by GitHub
commit c7a18b0781
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -378,7 +378,7 @@ path = "exercises/06_move_semantics/move_semantics5.rs"
mode = "test"
hint = """
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'
in the book's section 'References and Borrowing':
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.