mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 13:20:32 +01:00
Bunch of clippy fixes
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user