From cc6fc0d3aed729215f4d7de23f42dead6a9dd4da Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 11 Jan 2024 20:36:35 -0800 Subject: [PATCH] Format clippy bug comments on the same line as the lint --- gen/build/src/lib.rs | 3 +-- gen/cmd/src/main.rs | 3 +-- gen/lib/src/lib.rs | 3 +-- macro/src/lib.rs | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gen/build/src/lib.rs b/gen/build/src/lib.rs index 4809c13f6..da193c50e 100644 --- a/gen/build/src/lib.rs +++ b/gen/build/src/lib.rs @@ -78,8 +78,7 @@ clippy::toplevel_ref_arg, clippy::uninlined_format_args, clippy::upper_case_acronyms, - // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 - clippy::wrong_self_convention + clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 )] mod cargo; diff --git a/gen/cmd/src/main.rs b/gen/cmd/src/main.rs index e4f8e903c..0284b60bc 100644 --- a/gen/cmd/src/main.rs +++ b/gen/cmd/src/main.rs @@ -27,8 +27,7 @@ clippy::too_many_arguments, clippy::too_many_lines, clippy::toplevel_ref_arg, - // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 - clippy::wrong_self_convention + clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 )] mod app; diff --git a/gen/lib/src/lib.rs b/gen/lib/src/lib.rs index a753ab729..7671b922e 100644 --- a/gen/lib/src/lib.rs +++ b/gen/lib/src/lib.rs @@ -39,8 +39,7 @@ clippy::too_many_lines, clippy::toplevel_ref_arg, clippy::uninlined_format_args, - // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 - clippy::wrong_self_convention + clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 )] mod error; diff --git a/macro/src/lib.rs b/macro/src/lib.rs index 3411bef97..8c3ef0e6a 100644 --- a/macro/src/lib.rs +++ b/macro/src/lib.rs @@ -27,8 +27,7 @@ clippy::toplevel_ref_arg, clippy::uninlined_format_args, clippy::useless_let_if_seq, - // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 - clippy::wrong_self_convention + clippy::wrong_self_convention, // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983 )] mod derive;