mirror of https://github.com/helix-editor/helix
chore: remove unneeded attribute after MSRV bump to 1.61 (#3961)
parent
1a4a9b86d7
commit
e8f0886b21
|
@ -367,7 +367,6 @@ impl<T: Item> Picker<T> {
|
||||||
} else if pattern.starts_with(&self.previous_pattern) {
|
} else if pattern.starts_with(&self.previous_pattern) {
|
||||||
// optimization: if the pattern is a more specific version of the previous one
|
// optimization: if the pattern is a more specific version of the previous one
|
||||||
// then we can score the filtered set.
|
// then we can score the filtered set.
|
||||||
#[allow(unstable_name_collisions)]
|
|
||||||
self.matches.retain_mut(|(index, score)| {
|
self.matches.retain_mut(|(index, score)| {
|
||||||
let option = &self.options[*index];
|
let option = &self.options[*index];
|
||||||
let text = option.sort_text(&self.editor_data);
|
let text = option.sort_text(&self.editor_data);
|
||||||
|
|
Loading…
Reference in New Issue