chore: clippy

This commit is contained in:
Vukašin Vojinović 2025-10-03 03:24:44 +02:00 committed by Ashley Wulber
parent 4a4d5c0a9e
commit 909577b364
9 changed files with 121 additions and 146 deletions

View file

@ -160,9 +160,9 @@ impl ThumbnailCacher {
let mut image_data = vec![
0;
reader.output_buffer_size().ok_or_else(
|| "The required image buffer size is too large."
)?
reader
.output_buffer_size()
.ok_or("The required image buffer size is too large.")?
];
reader.next_frame(&mut image_data)?;