chore: run rustfmt in naga

This commit is contained in:
Erich Gubler 2024-01-04 16:58:38 -05:00
parent adf1e3b6c5
commit c2058487ca

View File

@ -1144,7 +1144,12 @@ impl<'a> ConstantEvaluator<'a> {
return self.cast(expr, target, span);
};
let crate::TypeInner::Array { base: _, size, stride: _ } = self.types[ty].inner else {
let crate::TypeInner::Array {
base: _,
size,
stride: _,
} = self.types[ty].inner
else {
return self.cast(expr, target, span);
};