Skip to content

Commit

Permalink
fix: into_iter
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo committed Feb 2, 2024
1 parent b90d3ec commit bcf9172
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 @@ -164,10 +164,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 bcf9172

Please sign in to comment.