aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorTshepang Mbambo2022-12-01 16:37:38 +0000
committerGitHub2022-12-01 16:37:38 +0000
commita8a54be6bcd0667c50b7c739dbfd072df684b3c3 (patch)
tree12de85d49627e4ea8c185554de2fd8ebcfa62a3e /helix-term/src/commands.rs
parent5a3ff742218aac32c3af08993f0edb623631fc72 (diff)
Fix nightly clippy lints (#4954)
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index a6f88362..4cd27119 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2346,8 +2346,8 @@ fn buffer_picker(cx: &mut Context) {
let picker = FilePicker::new(
cx.editor
.documents
- .iter()
- .map(|(_, doc)| new_meta(doc))
+ .values()
+ .map(|doc| new_meta(doc))
.collect(),
(),
|cx, meta, action| {