Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 3.1. Variables and Mutability. Revised Sentence #4021

Open
YS-McGee opened this issue Aug 26, 2024 · 0 comments
Open

Chapter 3.1. Variables and Mutability. Revised Sentence #4021

YS-McGee opened this issue Aug 26, 2024 · 0 comments

Comments

@YS-McGee
Copy link

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:
    • until either it itself is shadowed
  • I have checked the latest main branch to see if this has already been fixed, in this file:
    • src/ch03-01-variables-and-mutability.md

URL to the section(s) of the book with this problem:
https://github.com/rust-lang/book/blob/main/src/ch03-01-variables-and-mutability.md?plain=1#L130

Description of the problem:
The English problem is a bit of redundancy and a lack of parallel structure, which can affect clarity.

Suggested fix (Corrected Sentence):
"In effect, the second variable overshadows the first, meaning any uses of the variable name will refer to the second variable until it is either shadowed again or the scope ends."

Current Sentence:
"In effect, the second variable overshadows the first, taking any uses of the variable name to itself until either it itself is shadowed or the scope ends."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@YS-McGee and others