Skip to content

Commit

Permalink
Use array::iter
Browse files Browse the repository at this point in the history
See clippy::into_iter lint and rust-lang/rust#65819
  • Loading branch information
tesuji authored Oct 30, 2019
1 parent 56cddd7 commit e43d98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ fn build_c_code(target: &Target, pregenerated: PathBuf, out_dir: &Path) {

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

0 comments on commit e43d98c

Please sign in to comment.