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

Bad phrasing #3561

Closed
seishun opened this issue Mar 8, 2023 · 1 comment · Fixed by #3874
Closed

Bad phrasing #3561

seishun opened this issue Mar 8, 2023 · 1 comment · Fixed by #3874

Comments

@seishun
Copy link
Contributor

seishun commented Mar 8, 2023

  • I have searched open and closed issues and pull requests for duplicates, using these search terms:
    • vector to hold that enum
  • I have checked the latest main branch to see if this has already been fixed, in this file:
    • src/ch08-01-vectors.md

URL to the section(s) of the book with this problem:
https://doc.rust-lang.org/stable/book/ch08-01-vectors.html#using-an-enum-to-store-multiple-types

Description of the problem:

Then we can create a vector to hold that enum and so, ultimately, holds different types.

There is no valid subject for the "holds".

Suggested fix:

I can't think of a good option that doesn't involve rephrasing the sentence.

@chriskrycho
Copy link
Contributor

Good catch! This should be an easy fix—in context, it is just that "holds" should be "hold"!

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