diff options
fix(clippy): Allow unused items in trait, the compiler will optimize these out if unused anyways
Diffstat (limited to 'src')
-rw-r--r-- | src/font.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |