From 450049ef0fa29571067a13de2c4c0026ab803393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gro=C3=9F?= Date: Tue, 29 May 2018 14:12:14 +0200 Subject: [PATCH] Removed function never used warning --- src/drawing/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drawing/mod.rs b/src/drawing/mod.rs index cd7bb85..24c0ce0 100644 --- a/src/drawing/mod.rs +++ b/src/drawing/mod.rs @@ -100,6 +100,7 @@ impl Graphics { /// Draw a single Pixel with `color` /// /// limited to i16::max images (buffer_size) at the moment + #[allow(dead_code)] fn draw_byte(&self, buffer: &mut[u8], x: u16, y: u16, filling: u8, color: &Color) { let idx = match self.rotation { Displayorientation::Rotate0 | Displayorientation::Rotate180