Skip to content

Commit

Permalink
fix: into_iter
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Apr 12, 2024
1 parent 31ed8a3 commit 10d6eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/image_processor/src/processor/job/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ pub fn process_job(backend: DecoderBackend, job: &Job, data: Cow<'_, [u8]>) -> R

// let base_width = input_width as f64 / job.task.aspect_width as f64;
let mut resizers = scales
.iter()
.into_iter()
.map(|scale| {
(
*scale,
scale,
ImageResizer::new(ImageResizerTarget {
height: scale.height,
width: scale.width,
Expand Down

0 comments on commit 10d6eab

Please sign in to comment.