aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/mod.rs')
-rw-r--r--helix-term/src/ui/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
index 4fbdd550..463ac368 100644
--- a/helix-term/src/ui/mod.rs
+++ b/helix-term/src/ui/mod.rs
@@ -194,7 +194,7 @@ pub mod completers {
.collect();
matches.sort_unstable_by_key(|(_file, score)| Reverse(*score));
- files = matches.into_iter().map(|(file, _)| file.into()).collect();
+ files = matches.into_iter().map(|(file, _)| file).collect();
// TODO: complete to longest common match
}