Skip to content

Commit 1dc4329

Browse files
committed
fmt
1 parent 20788a0 commit 1dc4329

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/raw_framebuf.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,10 @@ impl IntoRawBytes for embedded_graphics::pixelcolor::Rgb666 {
9292

9393
//scale up by 8bits/ 6bits = 256/64 = 4
9494
fn into_raw_bytes(self) -> <Self as IntoRawBytes>::Raw {
95-
[self.r()* 4, self.g() *4, self.b()*4]
95+
[self.r() * 4, self.g() * 4, self.b() * 4]
9696
}
9797
}
9898

99-
10099
impl IntoRawBytes for embedded_graphics::pixelcolor::Rgb888 {
101100
const BYTES_PER_PIXEL: usize = 3;
102101
type Raw = [u8; 3];

0 commit comments

Comments
 (0)