Use array::iter
This commit is contained in:
@@ -28,7 +28,7 @@ fn main() {
|
|||||||
|
|
||||||
// Configure isa targets cfg.
|
// Configure isa targets cfg.
|
||||||
let isa_targets = meta::isa::Isa::all()
|
let isa_targets = meta::isa::Isa::all()
|
||||||
.into_iter()
|
.iter()
|
||||||
.cloned()
|
.cloned()
|
||||||
.filter(|isa| {
|
.filter(|isa| {
|
||||||
let env_key = format!("CARGO_FEATURE_{}", isa.to_string().to_uppercase());
|
let env_key = format!("CARGO_FEATURE_{}", isa.to_string().to_uppercase());
|
||||||
|
|||||||
Reference in New Issue
Block a user