From 08b14ed77eb7cc9459fe4334e23a8f4c2c08edb1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 16 Oct 2022 21:38:22 -0400 Subject: [PATCH] Remove leading 'or' from fixable match --- src/checks.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/checks.rs b/src/checks.rs index 8a7ed58833..ee9717e0d3 100644 --- a/src/checks.rs +++ b/src/checks.rs @@ -1202,7 +1202,8 @@ impl CheckKind { pub fn fixable(&self) -> bool { matches!( self, - |CheckKind::BlankLineAfterLastSection(_)| CheckKind::BlankLineAfterSection(_) + CheckKind::BlankLineAfterLastSection(_) + | CheckKind::BlankLineAfterSection(_) | CheckKind::DeprecatedUnittestAlias(_, _) | CheckKind::DoNotAssertFalse | CheckKind::DuplicateHandlerException(_)