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

Don't indiscrimanently group module attributes #4932

Closed
jnqnfe opened this issue Jul 30, 2021 · 1 comment
Closed

Don't indiscrimanently group module attributes #4932

jnqnfe opened this issue Jul 30, 2021 · 1 comment

Comments

@jnqnfe
Copy link

jnqnfe commented Jul 30, 2021

I'd deliberately added the empty line here between those lines adjusting lint handling from those controlling enabling of features to draw attention to the fact that something different is going on with the latter. I don't think rustfmt should be indiscriminately grouping such things.

 #![warn(missing_docs)]
 #![deny(bare_trait_objects)]
-
 #![cfg_attr(docsrs, feature(doc_cfg))]

Version string: rustfmt 1.4.37-stable (a178d03 2021-07-26)
Project: https://github.com/jnqnfe/pulse-binding-rust
Specific file: https://github.com/jnqnfe/pulse-binding-rust/blob/master/pulse-binding/src/lib.rs
Ran against the master branch.

@calebcartwright
Copy link
Member

Closing as duplicate of #4082

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants