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

Book: Small grammatical and stylistic edits to book #34532

Merged
merged 8 commits into from Jul 3, 2016

Commits on Jun 27, 2016

  1. Configuration menu
    Copy the full SHA
    cae02ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a327e0 View commit details
    Browse the repository at this point in the history
  3. "also ... as well" is redundant

    Also "to access" is cleaner than "for accessing"
    jonmarkprice committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    9dd5540 View commit details
    Browse the repository at this point in the history
  4. many small grammatical and stylistic changes

    grammatical: "Here's" should be "Here are", "rules" is plural.
    stylistic: "rules for" is more idiomatic than "rules about".
    grammatical: No verb in "One or the other"; changed to "It's one or the other".
    code: added implied `fn main() { ... }` because it is referenced in "note: previous borrow ends here"
    semantic: "But" seems like the wrong word here, there is now, contrast, only further explanation. "so", "thus" or "therefor" is clearer.
    grammatical: Another misuse of "Here's", should be "Here are" (or possibly "Here're").
    grammatical: "use" should be capitalized. All other subheadings capitalize the first word.
    jonmarkprice committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    15a0299 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. fixed typo: term should be terms

    two terms (input lifetime and output lifetime) so "term" needs to be plural.
    jonmarkprice committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    4f1f764 View commit details
    Browse the repository at this point in the history
  2. took comment out of code block

    no reason for a long comment in a code block when we could take it out, especially since it looks like it's using markdown (`struct`, `&` and `lvl`).
    jonmarkprice committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    8eb56e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    763cec2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec66b5a View commit details
    Browse the repository at this point in the history