From 2fbbcc66c1d14639aa6fad92688ffcd46c8a5533 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 5 Jul 2021 13:54:47 -0400 Subject: clippy --- src/bin/rbw/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/rbw/commands.rs') diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index 1ceb409..53310d7 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -55,7 +55,7 @@ impl DecryptedCipher { .iter() .copied() .cloned() - .filter_map(|x| x) + .flatten() .collect(); if names.is_empty() { eprintln!("entry for '{}' had no name", desc); -- cgit v1.2.3-54-g00ecf