Skip to content

Commit

Permalink
Replace use of array::into_iter with iter
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Feb 15, 2025
1 parent 1005cd7 commit a64bb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3295,7 +3295,7 @@ impl Build {
//
// The same applies to ranlib.
let chosen = ["", "-gcc"]
.into_iter()
.iter()
.filter_map(|infix| {
let target_p = format!("{prefix}{infix}-{tool}");
let status = Command::new(&target_p).status().ok()?;
Expand Down

0 comments on commit a64bb2f

Please sign in to comment.