From f3f811fa1b180896ca5922464eafde34d72130d3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 1 Aug 2022 10:18:30 -0400 Subject: [PATCH] rust/treefile: Allow a clippy lint I think the way this code is now is fine. --- rust/src/treefile.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/treefile.rs b/rust/src/treefile.rs index 6cb2bf3fc2..e9ceb104b2 100644 --- a/rust/src/treefile.rs +++ b/rust/src/treefile.rs @@ -850,6 +850,7 @@ impl Treefile { add_sha256_nevra_to_map(map, packages) } + #[allow(clippy::if_same_then_else)] pub(crate) fn remove_packages( &mut self, packages: Vec,