We love the eta reductions

This commit is contained in:
Ayaz Hafiz 2022-05-06 14:32:54 -04:00
parent a0950e9321
commit 2a4ed33530
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -827,7 +827,7 @@ impl<'a> SymbolSpecializations<'a> {
function_mark, function_mark,
}; };
let symbol_specializations = self.0.get_or_insert(symbol, || Default::default()); let symbol_specializations = self.0.get_or_insert(symbol, Default::default);
// For the first specialization, always reuse the current symbol. The vast majority of defs // For the first specialization, always reuse the current symbol. The vast majority of defs
// only have one instance type, so this preserves readability of the IR. // only have one instance type, so this preserves readability of the IR.