From 3ab86973cce1d4a1fe962608c3da1f8a3ced78a0 Mon Sep 17 00:00:00 2001 From: numzero Date: Sat, 28 Sep 2024 13:30:39 +0300 Subject: [PATCH] Allow(dead_code) That function is too nice to remove --- src/bin/flat/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/flat/main.rs b/src/bin/flat/main.rs index 1b3a20d..ebbad98 100644 --- a/src/bin/flat/main.rs +++ b/src/bin/flat/main.rs @@ -146,6 +146,7 @@ pub fn main() { }); } +#[allow(dead_code)] fn draw_cross(gc: &mut Vec, pos: Vec2, r: f32) { gc.move_to(pos.x - r, pos.y - r); gc.line_to(pos.x + r, pos.y + r);