Browse Source

Merge pull request #93 from caemor/Needless-borrow

Update graphics.rs to fix needless borrow
main
Chris 4 years ago committed by GitHub
parent
commit
2cb56b2ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/graphics.rs

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

Loading…
Cancel
Save