diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-15 23:21:01 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-15 23:21:40 +0100 |
commit | 48a58cb250e9c3b5a0d3d1d3fffd9619de1fe3f6 (patch) | |
tree | d21fb4bce3ce32e6a1b949d3fe7bd89418d15fb9 /src/job/runnable.rs | |
parent | a9a3420e6c4063398c015d407ef1887ee96fc6a1 (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/job/runnable.rs')
-rw-r--r-- | src/job/runnable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/job/runnable.rs b/src/job/runnable.rs index 0bf83ef..fc51ecd 100644 --- a/src/job/runnable.rs +++ b/src/job/runnable.rs @@ -68,7 +68,7 @@ impl RunnableJob { job.package() .dependencies() .runtime() - .into_iter() + .iter() .map(|dep| Self::build_resource(dep, merged_stores)) }) .collect::<futures::stream::FuturesUnordered<_>>() |