make clippy happy

This commit is contained in:
Tamo
2024-05-14 17:20:57 +02:00
parent caa6a7149a
commit 9fffb8e83d
6 changed files with 11 additions and 12 deletions

View File

@ -26,7 +26,7 @@ impl FieldidsWeightsMap {
self.map.values().copied().max()
}
pub fn ids<'a>(&'a self) -> impl Iterator<Item = FieldId> + 'a {
pub fn ids(&self) -> impl Iterator<Item = FieldId> + '_ {
self.map.keys().copied()
}
}