chore: bitmap.rs: make clippy happy

This commit is contained in:
Paul Pan 2023-12-17 20:45:41 +08:00
parent a57ece2f76
commit 2b268de52d

View File

@ -36,7 +36,7 @@ impl BitmapOps for Bitmap32 {
}
}
return None;
None
}
fn dealloc(&mut self, index: usize) {
@ -85,7 +85,7 @@ impl<B: BitmapOps> BitmapOps for Bitmap<B> {
}
}
return None;
None
}
fn dealloc(&mut self, index: usize) {
@ -103,7 +103,7 @@ impl<B: BitmapOps> Bitmap<B> {
return Some(i * B::CAPACITY + sub);
}
self.bits |= 1 << i;
return None;
None
}
}