aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorMichael Davis2022-05-20 03:16:11 +0000
committerGitHub2022-05-20 03:16:11 +0000
commite04bb8b8915bfe1df1a5ee7a8750f2589f2aae06 (patch)
tree5482270ef61d03da1d218caacc4dcc1ee174635d /helix-term/src/ui
parent9be810fd01f495c795ab5e5b7240a32708d19f5c (diff)
address rust 1.61.0 clippy lints (#2514)
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/picker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs
index 3ca6965c..49d91be6 100644
--- a/helix-term/src/ui/picker.rs
+++ b/helix-term/src/ui/picker.rs
@@ -366,6 +366,7 @@ impl<T> Picker<T> {
);
} else if pattern.starts_with(&self.previous_pattern) {
// TODO: remove when retain_mut is in stable rust
+ #[allow(unused_imports)]
use retain_mut::RetainMut;
// optimization: if the pattern is a more specific version of the previous one