From bcf91729d2c06b15034d62252103921881119079 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 11bbf678..6dc72d02 100644 --- a/platform/image_processor/src/processor/job/process.rs +++ b/platform/image_processor/src/processor/job/process.rs @@ -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,