mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Update graphics.rs
Fix needless borrow
This commit is contained in:
+1
-1
@@ -304,7 +304,7 @@ impl<'a> Display for VarDisplay<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn get_mut_buffer(&mut self) -> &mut [u8] {
|
fn get_mut_buffer(&mut self) -> &mut [u8] {
|
||||||
&mut self.buffer
|
self.buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
fn set_rotation(&mut self, rotation: DisplayRotation) {
|
fn set_rotation(&mut self, rotation: DisplayRotation) {
|
||||||
|
|||||||
Reference in New Issue
Block a user