From e34113b50444333da8f19dd1f9a3471b3b83c6ee Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 13 Jan 2021 09:34:00 +0100 Subject: Fix clippy: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` Signed-off-by: Matthias Beyer --- src/endpoint/configured.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/endpoint/configured.rs') diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index e6a1667..fe983c0 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -311,7 +311,7 @@ impl<'a> PreparedContainer<'a> { async fn copy_artifacts_to_container<'ca>(container: &Container<'ca>, job: &RunnableJob, staging: Arc>) -> Result<()> { job.resources() - .into_iter() + .iter() .filter_map(JobResource::artifact) .cloned() .map(|art| async { -- cgit v1.2.3