mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
990bbdc2be
Add configuration for `semicolon_block` lints Does exactly what it says on the tin, suggests moving a block's final semicolon inside if it's multiline and outside if it's singleline. I don't really like how this is implemented so I'm not too sure if this is ready yet. Alas, it might be ok. --- fixes #10654 changelog: Enhancement: [`semicolon_inside_block`]: Added `semicolon-inside-block-ignore-singleline` as a new config value. [#10656](https://github.com/rust-lang/rust-clippy/pull/10656) changelog: Enhancement: [`semicolon_outside_block`]: Added `semicolon-outside-block-ignore-multiline` as a new config value. [#10656](https://github.com/rust-lang/rust-clippy/pull/10656) <!-- changelog_checked --> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |