Use array::iter

This commit is contained in:
lzutao
2019-10-30 15:06:54 +07:00
committed by Benjamin Bouvier
parent e8c03fbd09
commit 7e5c33a29e

View File

@@ -28,7 +28,7 @@ fn main() {
// Configure isa targets cfg.
let isa_targets = meta::isa::Isa::all()
.into_iter()
.iter()
.cloned()
.filter(|isa| {
let env_key = format!("CARGO_FEATURE_{}", isa.to_string().to_uppercase());