Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
Signed-off-by: lloydmeta <[email protected]>
  • Loading branch information
lloydmeta committed Oct 30, 2024
1 parent 2c686e2 commit 784013c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/src/infra/image_manipulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ impl Operations {

if let Some(image_resize) = image_resize {
v.push(Operation::Resize {
width: image_resize.target_width.abs() as u32,
height: image_resize.target_height.abs() as u32,
width: image_resize.target_width.unsigned_abs(),
height: image_resize.target_height.unsigned_abs(),
});
if image_resize.target_width.is_negative() {
v.push(Operation::FlipHorizontally);
Expand Down
2 changes: 1 addition & 1 deletion server/src/infra/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ pub mod components;
pub mod config;
pub mod errors;
pub mod image_caching;
pub mod image_manipulation;
pub mod image_manipulation;

0 comments on commit 784013c

Please sign in to comment.