Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pohlm01 committed Nov 27, 2024
1 parent ed1dff8 commit f9af5ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ impl<T: ObjectStore> ImageThumbs<T> {
force_override: bool,
center: (f32, f32),
) -> ThumbsResult<Vec<ImageDetails>> {

let image = load_from_memory_with_format(&bytes, format)?;

let mut res = Vec::with_capacity(self.settings.len());
Expand Down Expand Up @@ -56,7 +55,7 @@ impl<T: ObjectStore> ImageThumbs<T> {
params.size.1,
imageops::FilterType::Nearest,
)
},
}
};

match format {
Expand Down

0 comments on commit f9af5ea

Please sign in to comment.