Fixed formatting

This commit is contained in:
Sylvester Hesp 2022-08-22 21:42:08 +02:00 committed by Eduard-Mihai Burtescu
parent c8c5bd3c03
commit a9209cd3bf

View File

@ -108,7 +108,8 @@ impl<'tcx> CodegenCx<'tcx> {
let declared = fn_id.with_type(function_type); let declared = fn_id.with_type(function_type);
let attrs = AggregatedSpirvAttributes::parse(self, self.tcx.get_attrs_unchecked(instance.def_id())); let attrs =
AggregatedSpirvAttributes::parse(self, self.tcx.get_attrs_unchecked(instance.def_id()));
if let Some(entry) = attrs.entry.map(|attr| attr.value) { if let Some(entry) = attrs.entry.map(|attr| attr.value) {
let entry_name = entry let entry_name = entry
.name .name