Skip to content

Commit

Permalink
rust/treefile: Allow a clippy lint
Browse files Browse the repository at this point in the history
I think the way this code is now is fine.
  • Loading branch information
cgwalters committed Aug 1, 2022
1 parent 9cf99ad commit f3f811f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/src/treefile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
Expand Down

0 comments on commit f3f811f

Please sign in to comment.