Fix formatting.

This commit is contained in:
Stephen Chung
2022-01-30 11:21:45 +08:00
parent 06214cf499
commit 8fc80ecd10
2 changed files with 4 additions and 3 deletions

View File

@@ -1434,7 +1434,7 @@ impl Module {
self.functions.entry(k).or_insert_with(|| v.clone());
}
for (&k, v) in &other.type_iterators {
self.type_iterators.entry(k).or_insert(v.clone());
self.type_iterators.entry(k).or_insert_with(|| v.clone());
}
self.all_functions.clear();
self.all_variables.clear();