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

Format cfg-if conditionally included modules in kern/ #133

Merged
merged 4 commits into from
Jan 26, 2021
Merged

Conversation

smklein
Copy link
Contributor

@smklein smklein commented Jan 20, 2021

There exists a bug in Rustfmt 1.x where modules located via cfg-if are only sometimes considered for formatting: rust-lang/rustfmt#4656

Although there is a patch to fix this issue upstream, this PR manually fixes these unformatted modules.

The conditionally-included modules are not being
automatically formatted due to:
rust-lang/rustfmt#4656
@smklein smklein changed the base branch from master to clippy January 20, 2021 14:10
@smklein smklein merged this pull request into clippy Jan 26, 2021
@smklein smklein deleted the format branch January 26, 2021 15:57
@smklein smklein restored the format branch January 26, 2021 16:05
@smklein smklein deleted the format branch January 26, 2021 16:05
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.

2 participants