Skip to content

Commit cc6fc0d

Browse files
committed
Format clippy bug comments on the same line as the lint
1 parent c9c26d5 commit cc6fc0d

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

gen/build/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
clippy::toplevel_ref_arg,
7979
clippy::uninlined_format_args,
8080
clippy::upper_case_acronyms,
81-
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
82-
clippy::wrong_self_convention
81+
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
8382
)]
8483

8584
mod cargo;

gen/cmd/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
clippy::too_many_arguments,
2828
clippy::too_many_lines,
2929
clippy::toplevel_ref_arg,
30-
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
31-
clippy::wrong_self_convention
30+
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
3231
)]
3332

3433
mod app;

gen/lib/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
clippy::too_many_lines,
4040
clippy::toplevel_ref_arg,
4141
clippy::uninlined_format_args,
42-
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
43-
clippy::wrong_self_convention
42+
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
4443
)]
4544

4645
mod error;

macro/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
clippy::toplevel_ref_arg,
2828
clippy::uninlined_format_args,
2929
clippy::useless_let_if_seq,
30-
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
31-
clippy::wrong_self_convention
30+
clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
3231
)]
3332

3433
mod derive;

0 commit comments

Comments
 (0)