mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Apply clippy suggestions
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user