Skip to content

Commit b821ffd

Browse files
committed
docs(move_semantics5): Replace "in vogue" with "in scope" in hint
The hint for `move_semantics5` refers to "the range in which each mutable reference is in vogue". Unless this is a deliberate introduction of "vogue" (an admittedly-useful term because "scope" isn't purely lexical, as in many other languages), it may be in error: I have been unable to find the term used with reference to *Rust* references. Thus, I'm suggesting the replacement, in case it's been overlooked.
1 parent 102a4b9 commit b821ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ path = "exercises/move_semantics/move_semantics5.rs"
231231
mode = "compile"
232232
hint = """
233233
Carefully reason about the range in which each mutable reference is in
234-
vogue. Does it help to update the value of referent (x) immediately after
234+
scope. Does it help to update the value of referent (x) immediately after
235235
the mutable reference is taken? Read more about 'Mutable References'
236236
in the book's section References and Borrowing':
237237
https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.

0 commit comments

Comments
 (0)