From 10d6eabf9061d31b0e8e9e76ba4ee8ef877aa52a Mon Sep 17 00:00:00 2001 From: Troy Benson Date: Fri, 2 Feb 2024 16:48:38 +0000 Subject: [PATCH] fix: into_iter --- platform/image_processor/src/processor/job/process.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/image_processor/src/processor/job/process.rs b/platform/image_processor/src/processor/job/process.rs index bc09e1ee..0dc0d26c 100644 --- a/platform/image_processor/src/processor/job/process.rs +++ b/platform/image_processor/src/processor/job/process.rs @@ -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,