Chore: ignore push-blocking features that would make older rust toolchains error

This commit is contained in:
Denis Benato
2025-11-11 22:21:32 +01:00
parent 7207d3287a
commit 4c6db9f0a9
5 changed files with 9 additions and 3 deletions

View File

@@ -157,8 +157,9 @@ fn main() -> Result<(), Box<dyn Error>> {
for (x_count, b) in dev.buffer[start..=end].iter().enumerate() {
canvas.set_draw_color(Color::RGB(*b, *b, *b));
#[allow(clippy::manual_is_multiple_of)]
let x: i32 = w + x_count as i32 * w
- if !((y_count + y_offset as usize) % 2 == 0) {
- if (y_count + y_offset as usize) % 2 != 0 {
0
} else {
w / 2