Take into account PR messages

This commit is contained in:
ManyTheFish
2025-03-10 13:46:33 +01:00
parent ed1dcbe0f7
commit 689e69d6d2
5 changed files with 18 additions and 24 deletions

View File

@ -43,11 +43,6 @@ impl FieldidsWeightsMap {
self.map.get(&fid).copied()
}
/// Returns highest weight contained in the map if any.
pub fn max_weight(&self) -> Option<Weight> {
self.map.values().copied().max()
}
/// Return an iterator visiting all field ids in arbitrary order.
pub fn ids(&self) -> impl Iterator<Item = FieldId> + '_ {
self.map.keys().copied()