cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
503 stars 82 forks source link

Clarify wording in borrow checker chapter #161

Open nk9 opened 5 months ago

nk9 commented 5 months ago

Here are a few wording changes to clarify what's being communicated in Chapter 4-02, "References and Borrowing." The original wording in the first commit in particular had me scratching my head for a few seconds, since "assign x_ref to a different reference" could be read either as x_ref receiving a new value, or some other variable being assigned the value the x_ref has.