Conversation
jsoref
left a comment
There was a problem hiding this comment.
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.
| ### Fixed | ||
|
|
||
| - Do not remove path disambiugator inside macro #3142 | ||
| - Do not remove path disambiguator inside macro #3142 |
There was a problem hiding this comment.
Some projects don't like changing change logs. Happy to drop.
| ### Changed | ||
|
|
||
| - Replace '--conifig-help' with '--config=help' cb10e06 | ||
| - Replace '--config-help' with '--config=help' cb10e06 |
There was a problem hiding this comment.
It's possible this means what it said, but I'm guessing it didn't.
| - Use vertical layout for complex attributes c77708f | ||
| - Format array using heuristics for function calls 98c6f7b | ||
| - 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.
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 |
|
|
||
| macro_rules! create_config { | ||
| // Options passed in to the macro. | ||
| // Options passed into the macro. |
There was a problem hiding this comment.
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.
|
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. |
There was a problem hiding this comment.
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.
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>
ytmimi
left a comment
There was a problem hiding this comment.
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