Skip to content

Commit

Permalink
Fix clippy lint issue (#808)
Browse files Browse the repository at this point in the history
- [x] no changelog update needed
  • Loading branch information
corwinkuiper authored Nov 19, 2024
2 parents 16c1fad + c70c0d2 commit e918f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agb-hashmap/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ where
}

self.iter()
.all(|(key, value)| other.get(key).map_or(false, |v| *value == *v))
.all(|(key, value)| other.get(key).is_some_and(|v| *value == *v))
}
}

Expand Down

0 comments on commit e918f3f

Please sign in to comment.