Bunch of clippy fixes

This commit is contained in:
2023-01-28 22:52:46 +01:00
parent e914c17f81
commit d5d9b1c192
10 changed files with 23 additions and 30 deletions

View File

@@ -182,8 +182,7 @@ impl IndexSet {
self.0
.get(entry)
.map(|&entry| (entry & (1 << pos) != 0))
.unwrap_or(false)
.map_or(false, |&entry| (entry & (1 << pos) != 0))
}
}