Skip to content

Commit e43d98c

Browse files
authored
Use array::iter
See clippy::into_iter lint and rust-lang/rust#65819
1 parent 56cddd7 commit e43d98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) {
418418

419419
// XXX: Ideally, ring-test would only be built for `cargo test`, but Cargo
420420
// can't do that yet.
421-
libs.into_iter()
421+
libs.iter()
422422
.for_each(|&(lib_name, srcs, additional_srcs)| {
423423
build_library(
424424
&target,

0 commit comments

Comments
 (0)