remove redundant lifetime parameter

This commit is contained in:
figsoda 2020-11-17 17:00:09 -05:00
parent 7572827aa3
commit e6ffa2fb54

View file

@ -92,7 +92,7 @@ pub enum Command {
}
impl State {
pub fn update_search<'a>(&mut self, queue_strings: &'a [String]) {
pub fn update_search(&mut self, queue_strings: &[String]) {
let query = self.query.to_lowercase();
self.filtered.clear();
for (i, track) in queue_strings.iter().enumerate() {