mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-30 06:53:27 +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 --> |
||
---|---|---|
.. | ||
clippy.toml | ||
conf_unknown_key.rs | ||
conf_unknown_key.stderr |