*: Activate clippy::style lint group (#2620)

This commit is contained in:
Hubert
2022-05-03 13:11:48 +02:00
committed by GitHub
parent f46fecd4d7
commit 70d38520fd
35 changed files with 137 additions and 92 deletions

View File

@ -172,7 +172,7 @@ where
self.list.clear();
}
pub fn contains_key(&mut self, key: &Key) -> bool {
pub fn contains_key(&self, key: &Key) -> bool {
self.map.contains_key(key)
}
@ -208,7 +208,7 @@ where
}
}
pub fn contains(&mut self, key: &Key) -> bool {
pub fn contains(&self, key: &Key) -> bool {
self.0.contains_key(key)
}
}