Skip to content

Commit a64bb2f

Browse files
authored
Replace use of array::into_iter with iter
1 parent 1005cd7 commit a64bb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,7 @@ impl Build {
32953295
//
32963296
// The same applies to ranlib.
32973297
let chosen = ["", "-gcc"]
3298-
.into_iter()
3298+
.iter()
32993299
.filter_map(|infix| {
33003300
let target_p = format!("{prefix}{infix}-{tool}");
33013301
let status = Command::new(&target_p).status().ok()?;

0 commit comments

Comments
 (0)