Skip to content

Commit 0b4fae1

Browse files
committed
chore: rust format
1 parent c213903 commit 0b4fae1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,7 @@ fn generate_payload(args: &mut Args) -> Result<PayloadBuffer> {
268268
let frame_count = frames.len();
269269
let (width, height) = frames.first().unwrap().buffer().dimensions();
270270
if height != DISPLAY_HEIGHT || width != DISPLAY_WIDTH {
271-
anyhow::bail!(
272-
"Expected {DISPLAY_WIDTH}x{DISPLAY_WIDTH} pixel gif file"
273-
);
271+
anyhow::bail!("Expected {DISPLAY_WIDTH}x{DISPLAY_WIDTH} pixel gif file");
274272
}
275273

276274
let mut buffer = payload.add_message(

0 commit comments

Comments
 (0)