Skip to content

Commit

Permalink
Merge pull request #162 from LukasKalbertodt/fix-array-into-iter
Browse files Browse the repository at this point in the history
Use `slice::iter` instead of `into_iter` to avoid future breakage
  • Loading branch information
KodrAus authored Jan 13, 2020
2 parents 19b57ec + 3bb6862 commit a7d9979
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 @@ -9,7 +9,7 @@ fn main() {
let force_spin_cfg = is_var_set("CARGO_CFG_LAZY_STATIC_SPIN_IMPL");

let impls_forced = [force_heap_cfg, force_inline_cfg, force_spin_cfg]
.into_iter()
.iter()
.filter(|&&f| f)
.count();

Expand Down

0 comments on commit a7d9979

Please sign in to comment.