mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
make clippy happy
This commit is contained in:
@ -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()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user