Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands.rs')
| -rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 76cad67b..0bfb12ad 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2183,7 +2183,7 @@ fn searcher(cx: &mut Context, direction: Direction) { completions .iter() .filter(|comp| comp.starts_with(input)) - .map(|comp| (0.., std::borrow::Cow::Owned(comp.clone()))) + .map(|comp| (0.., comp.clone().into())) .collect() }, move |cx, regex, event| { |