chore: remove unneeded attribute after MSRV bump to 1.61 (#3961)

change-detection
Poliorcetics 2 years ago committed by GitHub
parent 1a4a9b86d7
commit e8f0886b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save