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 12.5 - redundant words "to check"/"to see" #3660

Closed
meni-adin opened this issue May 27, 2023 · 1 comment
Closed

Chapter 12.5 - redundant words "to check"/"to see" #3660

meni-adin opened this issue May 27, 2023 · 1 comment

Comments

@meni-adin
Copy link
Contributor

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:
    chapter 12.5
  • I have checked the latest main branch to see if this has already been fixed, in this file:
    book/src/ch12-05-working-with-environment-variables.md

URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/book/ch12-05-working-with-environment-variables.html#implementing-the-search_case_insensitive-function

Description of the problem:
Down the page, just before adding the code to check for the environment variable, this sentence appears:
"Then we’ll use the var function from the env module to check to see if any value has been...".
It seems like either "to check" or "to see" should appear, but not both.

Suggested fix:
Replace the start of the sentence with:
"Then we’ll use the var function from the env module to check if any value has been...".

@chriskrycho
Copy link
Contributor

Concur! Thank you!

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

No branches or pull requests

2 participants