all the clippy fixes

This commit is contained in:
Folkert 2021-01-01 00:40:41 +01:00
parent 94a33c91dc
commit 754521c4c3
14 changed files with 93 additions and 120 deletions

View file

@ -109,7 +109,7 @@ impl Pools {
.unwrap_or_else(|| panic!("Compiler bug: could not find pool at rank {}", rank))
}
pub fn iter<'a>(&'a self) -> std::slice::Iter<'a, Vec<Variable>> {
pub fn iter(&self) -> std::slice::Iter<'_, Vec<Variable>> {
self.0.iter()
}