Skip to content

Commit

Permalink
Comment the motivation about the filter_map clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Dec 5, 2024
1 parent 469c43c commit 15ea3e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// .filter_map() predicates returns Some/None, which is more clear than .filter()'s -> bool predicates.
#![allow(clippy::unnecessary_filter_map)]

/*! The Determinate [Nix](https://github.com/NixOS/nix) Installer
Expand Down

0 comments on commit 15ea3e6

Please sign in to comment.