chore: clippy
This commit is contained in:
parent
4a4d5c0a9e
commit
909577b364
9 changed files with 121 additions and 146 deletions
|
|
@ -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)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue