about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-25 20:12:00 +0000
committerbors <bors@rust-lang.org>2023-04-25 20:12:00 +0000
commit990bbdc2bee264291843497cebe59f307c2ed86f (patch)
treee5da2a82b16b246393c784f60e18dcd1e1300b35 /tests/rustdoc-js-std/parser-slice-array.js
parenta7335cbf909e0046a869682e5ceac9b16d64b588 (diff)
parent8c8cf407074b2a1d56a285a575035e1c454c3195 (diff)
downloadrust-990bbdc2bee264291843497cebe59f307c2ed86f.tar.gz
rust-990bbdc2bee264291843497cebe59f307c2ed86f.zip
Auto merge of #10656 - Centri3:master, r=xFrednet
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 -->
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions