Merge pull request #93 from caemor/Needless-borrow

Update graphics.rs to fix needless borrow
main
Chris 2021-12-15 21:36:25 +01:00 committed by GitHub
commit 2cb56b2ac1
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) {