From dbd7ad1770264a34caacec1dce2b2aae0d41e39c Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 14 Jun 2022 17:09:26 +0800 Subject: [PATCH] fix warning on ditherpunk test routine --- services/modals/src/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/modals/src/tests.rs b/services/modals/src/tests.rs index 98b3f01f5..c302f78c2 100644 --- a/services/modals/src/tests.rs +++ b/services/modals/src/tests.rs @@ -174,6 +174,7 @@ pub fn spawn_test() { } // https://sequelaencollection.home.blog/2d-chaotic-attractors/ +#[allow(dead_code)] fn clifford() -> Img { const SIZE: u32 = Modals::MODAL_WIDTH; const CENTER: f32 = (SIZE / 2) as f32;