cargo clippy --fix

This commit is contained in:
Henry Schimke
2023-01-10 14:36:11 -06:00
parent 4f1bceee66
commit 59183a5383
5 changed files with 12 additions and 12 deletions

View File

@@ -209,8 +209,8 @@ impl BitMatrix {
#[inline(always)]
fn get_offset(&self, y: u32, x: u32) -> usize {
let offset = y as usize * self.row_size + (x as usize / 32);
offset
y as usize * self.row_size + (x as usize / 32)
}
pub fn try_get(&self, x: u32, y: u32) -> Result<bool, Exceptions> {