Skip to content

Commit 3b6ebe1

Browse files
committed
Fix all clippy warnings (beta toolchain version 1.92.0-beta.3)
This ignores a false positive (at least it seems to me that way) of the `redundant_iter_cloned` lint that is present since toolchain v1.92: - https://rust-lang.github.io/rust-clippy/beta/index.html#redundant_iter_cloned - rust-lang/rust-clippy#15725 - rust-lang/rust-clippy#16012
1 parent 492a41c commit 3b6ebe1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/endpoint/configured.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,8 @@ impl<'a> PreparedContainer<'a> {
664664
.with_context(|| anyhow!("Copying patches to container {}", container.id()))
665665
}
666666

667+
// Ignore a false postitive Clippy lint:
668+
#[rustversion::attr(since(1.92), allow(clippy::redundant_iter_cloned))]
667669
async fn copy_artifacts_to_container(
668670
container: &Container<'_>,
669671
job: &RunnableJob,

0 commit comments

Comments
 (0)