aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/ui/menu.rs2
-rw-r--r--helix-term/src/ui/picker.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/menu.rs b/helix-term/src/ui/menu.rs
index e92578c5..da00aa89 100644
--- a/helix-term/src/ui/menu.rs
+++ b/helix-term/src/ui/menu.rs
@@ -77,7 +77,7 @@ impl<T: Item> Menu<T> {
Self {
options,
editor_data,
- matcher: Box::new(Matcher::default()),
+ matcher: Box::default(),
matches,
cursor: None,
widths: Vec::new(),
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index ccf37eb2..6bd64251 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -431,7 +431,7 @@ impl<T: Item> Picker<T> {
let mut picker = Self {
options,
editor_data,
- matcher: Box::new(Matcher::default()),
+ matcher: Box::default(),
matches: Vec::new(),
cursor: 0,
prompt,