-
Notifications
You must be signed in to change notification settings - Fork 896
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
Spelling #5753
Spelling #5753
Conversation
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.
Most spelling corrections automatically suggested by Google Sheets (when being run on the rust repository). I've manually transplanted these commits into this repository.
All fault mine.
- Do not remove path disambiugator inside macro #3142 | ||
- Do not remove path disambiguator inside macro #3142 |
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.
Some projects don't like changing change logs. Happy to drop.
- Replace '--conifig-help' with '--config=help' cb10e06 | ||
- Replace '--config-help' with '--config=help' cb10e06 |
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.
It's possible this means what it said, but I'm guessing it didn't.
- Implement stable ordering for impl items with the the following item priority: type, const, macro, then method fa80ddf | ||
- Implement stable ordering for impl items with the following item priority: type, const, macro, then method fa80ddf |
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.
Doubled words aren't technically misspellings, but spell checkers have traditionally flagged them as well
- IntellJ uses autosave, so now your files will always be formatted according to rustfmt. Alternatively you can use Ctrl+S to reformat file manually | ||
- IntelliJ uses autosave, so now your files will always be formatted according to rustfmt. Alternatively you can use Ctrl+S to reformat file manually |
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.
brand
// Options passed in to the macro. | ||
// Options passed into the macro. |
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.
in to
/into
has been quite controversial. It's possible that the phrase pass-in
is being treated as a thing in which case I could understand someone objecting, but, I parse this as pass options into container, and thus into
is my preference.
tests/target/issue-5125/attributes_in_formal_function_parameter.rs
Outdated
Show resolved
Hide resolved
Thank you for this. I think there's some objective fixes here that we want to include, but I have some reservations about there being changes proposed under the However, within those tests there are other cases of intentional grammar issues to do things like hitting a certain column width, and while the tests will still pass if those are changed, the the grammar fix would (silently) break the semantics of the test. It's a really, really subtle (and mildly annoying) thing, but it's because of that factor that I feel like we'd need to do a really deep dive review of the proposed If you'd be up for splitting out the non- |
Splitting out tests isn't a problem. Maybe tomorrow... |
@jsoref any chance you're still interested in working on this one? If not I think we should close the PR |
Sorry. Lemme look now. |
src/syntax.rs
Outdated
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.
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.
Done. And yes, if you're up for creating a PR for the cleanup, that'd be wonderful. I have limited spurts of energy and one good thing about my PRs is they tend to identify other cleanup that projects can do.
(I can try to do it, but I'm likely to get distracted...)
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.
Yeah, no worries. I'll handle the deletion. I appreciate the work you've already done 🙏🏼
Fwiw, these additional corrections probably postdate the version of rustfmt that was originally checked for this PR: https://github.com/jsoref/rustfmt/compare/5313c939ecb58788824a93e3629c9b00de25a9f3..d955b537 If you like, I can add them in, if you'd rather they wait, that's also ok. |
Yes, please add these additional changes if you can! |
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
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.
Thanks again for helping to make these changes!
This PR corrects misspellings identified by the check-spelling action.
The misspellings have been reported at https://github.com/jsoref/rustfmt/actions/runs/4700253156#summary-12752086000
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/rustfmt/actions/runs/4700253432#summary-12752087472