Merge pull request #975 from luskwater/scope-for-vogue

docs(move_semantics5): Replace "in vogue" with "in scope" in hint
This commit is contained in:
diannasoreil 2022-04-25 11:38:05 +02:00 committed by GitHub
commit 604166f549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ path = "exercises/move_semantics/move_semantics5.rs"
mode = "compile" mode = "compile"
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
vogue. Does it help to update the value of referent (x) immediately after scope. 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.