diff --git a/src/graphics.rs b/src/graphics.rs index 5a19e4a..e2d78e7 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -304,7 +304,7 @@ impl<'a> Display for VarDisplay<'a> { } fn get_mut_buffer(&mut self) -> &mut [u8] { - &mut self.buffer + self.buffer } fn set_rotation(&mut self, rotation: DisplayRotation) {