diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-13 09:34:00 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-15 23:21:39 +0100 |
commit | e34113b50444333da8f19dd1f9a3471b3b83c6ee (patch) | |
tree | 1107ff092c8ff07d1425840cf42040062c3af354 /src/endpoint/configured.rs | |
parent | 309537c02291da38e3642fc3f3ccf5df34ac98f3 (diff) |
Fix clippy: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint/configured.rs')
-rw-r--r-- | src/endpoint/configured.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<RwLock<StagingStore>>) -> Result<()> { job.resources() - .into_iter() + .iter() .filter_map(JobResource::artifact) .cloned() .map(|art| async { |