-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Fix typos with repeated words #12727
Conversation
👍 |
@alexcrichton et al.: https://github.com/huonw/spellck, and it even includes a list of known false positives (i.e. differences to my local I guess it could be extended to look for basic grammar issues like doubled words etc. (although there's the problem that that also has false positives, so if we do do it, it needs a list too). |
(Also, this needs a rebase.) |
One could check the spelling and grammar in a word processor, via pandoc. |
@kud1ing that's a good idea, but doing it quickly (i.e. in an automated fashion, even just to get a list of lines with incorrect words in a crate) seems like it might be tricky. |
Cosmetic changes at best, but there are so many such typos that I couldn't ignore them. :) Some occurrences of typos are linked to the generated documentations but no changes should break the builds.
@@ -284,7 +284,7 @@ pub struct PoolConfig { | |||
} | |||
|
|||
impl PoolConfig { | |||
/// Returns the default configuration, as determined the the environment | |||
/// Returns the default configuration, as determined the environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "by the environment".
…eld-name, r=jonas-schievink fix: Improve suggested names for extracted variables When extracting a field expression, if RA was unable to resolve the type of the field, we would previously fall back to using "var_name" as the variable name. Now, when the `Expr` being extracted matches a `FieldExpr`, we can use the `NameRef`'s ident token as a fallback option. fixes rust-lang#10035
Cosmetic changes at best, but there are so many such typos that I couldn't ignore them. :) Some occurrences of typos are linked to the generated documentations but no changes should break the builds.