aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
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| {