clippy
All checks were successful
Rust / build (pull_request) Successful in 5m37s

This commit is contained in:
Vinzenz Schroeter 2025-03-08 16:17:57 +01:00
parent e667c519cd
commit abb0b64b7c

View file

@ -104,7 +104,7 @@ impl CommandExecute for BitVecCommand {
BinaryOperation::Xor => BitXor::bitxor,
};
if self.offset as usize + bitvec.len() > PIXEL_COUNT {
if self.offset + bitvec.len() > PIXEL_COUNT {
error!(
"bitmap with offset {offset} is too big ({} bytes)",
bitvec.len()