mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
9ca1344d9a
`suspicious_else_formatting`: Don't warn if there is a comment between else and curly bracket This PR fixes https://github.com/rust-lang/rust-clippy/issues/10273 The idea is that if the only thing after `else` and before `{` is a comment, we will not warn because, probably, the line break was "made" by rustfmt. changelog: [`suspicious_else_formatting`]: Don't warn if the only thing between `else` and curly bracket is a comment