Eliminate more unnecessary calls to .iter().
This commit is contained in:
@@ -69,8 +69,8 @@ fn handle_module(path: PathBuf) -> Result<(), String> {
|
||||
}
|
||||
}
|
||||
};
|
||||
for func in translation.functions.iter() {
|
||||
let il = match *func {
|
||||
for func in translation.functions {
|
||||
let il = match func {
|
||||
FunctionTranslation::Import() => continue,
|
||||
FunctionTranslation::Code { ref il, .. } => il.clone(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user