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

In Configurations.md demonstrate both cases for noop selections #4986

Merged
merged 1 commit into from Sep 25, 2021

Conversation

rukai
Copy link
Contributor

@rukai rukai commented Sep 10, 2021

Continuing on from discussion in #4948
This PR improves both the idempotentency test and the users comprehension of the documentation.

condense_wildcard_suffixes is an example where this approach is already used.
I'm not sure if the new code added to the noop cases should also be added to the non-noop cases as well. condense_wildcard_suffixes doesnt do that, so I did the same. Let me know if I should change that though.

I havent touched configuration that sorts elements into alphabetical order, as the unsorted elements in the noop case should demonstrate that its not touched by rustfmt just fine.

brace_style: SameLineWhere doesn't seem to fit its own description , so I just skipped that one...

@rukai rukai changed the title [WIP] In Configurations.md demonstrate both cases for noop selections In Configurations.md demonstrate both cases for noop selections Sep 10, 2021
@rukai
Copy link
Contributor Author

rukai commented Sep 10, 2021

ready for review now!

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! I'm still not completely convinced this is necessary, nor overly useful, however, I don't think it hurts/causes any confusion either so will go ahead and merge.

@calebcartwright calebcartwright merged commit cb144c3 into rust-lang:master Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants