Apply clippy suggestions

This commit is contained in:
Oliver Hamlet
2019-06-16 20:33:28 +01:00
parent 611e4490d2
commit 44d73e0611
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ impl State {
pub fn set_active_plugins<T: AsRef<str>>(&mut self, active_plugins: &[T]) {
self.active_plugins = active_plugins
.into_iter()
.iter()
.map(|s| s.as_ref().to_lowercase())
.collect();
}