From 241f0707694474a92c066a10141a1ebc33f2408b Mon Sep 17 00:00:00 2001 From: numzero Date: Sat, 14 Sep 2024 13:27:31 +0300 Subject: [PATCH] Suppress a stupid warning --- src/bin/flat/tube/coords.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/flat/tube/coords.rs b/src/bin/flat/tube/coords.rs index cd5ba46..17fc479 100644 --- a/src/bin/flat/tube/coords.rs +++ b/src/bin/flat/tube/coords.rs @@ -142,6 +142,7 @@ mod tests { } fn test_flat_region(region: &impl FlatRegion, range_global: (Vec2, Vec2), range_flat: (Vec2, Vec2)) { + #[allow(non_upper_case_globals)] const ε: f32 = 1e-3; macro_rules! assert_eq_at { ($at: expr, $left: expr, $right: expr) => {