From a1b774bf1bd3d8573b486782742df8cc09c85b1b Mon Sep 17 00:00:00 2001 From: memdmp Date: Sun, 12 Jan 2025 04:40:36 +0100 Subject: fix(clippy): Allow unused items in trait, the compiler will optimize these out if unused anyways --- src/font.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/font.rs') diff --git a/src/font.rs b/src/font.rs index 8f06222..1dddd20 100644 --- a/src/font.rs +++ b/src/font.rs @@ -24,6 +24,7 @@ pub struct RenderableCharacter { A trait describing a generated font. We use traits implemented by each font because it's somehow optimized better in preliminary testing(?) */ +#[allow(unused)] pub trait BakedFont { fn font_scale_y() -> f32; fn has_char(&self, character: char) -> bool; -- cgit v1.2.3