Update graphics.rs

Fix needless borrow
main
Chris 2021-12-15 21:31:30 +01:00 committed by GitHub
parent 2f589c5ad8
commit abf3bba966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {