From c70c0d298f2431cf2c35b6177a9efaebd97adcc4 Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 19 Nov 2024 19:34:47 +0000 Subject: [PATCH] fix clippy lint issue --- agb-hashmap/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb-hashmap/src/lib.rs b/agb-hashmap/src/lib.rs index 30c13fd00..967ecc68e 100644 --- a/agb-hashmap/src/lib.rs +++ b/agb-hashmap/src/lib.rs @@ -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)) } }