aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/rbw/commands.rs')
-rw-r--r--src/bin/rbw/commands.rs2
1 files changed, 1 insertions, 1 deletions
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);