Formatting all code with cargo fmt --all

This commit is contained in:
Tero Laxström 2023-06-10 18:29:17 +03:00
parent fcbe177c07
commit f0741ca5d2
No known key found for this signature in database
GPG key ID: 51B8EC70009CC79D
2 changed files with 14 additions and 2 deletions

View file

@ -1268,7 +1268,13 @@ impl<
self.build_num_mul_wrap(dst, src1, src2, layout)
}
fn build_num_mul_wrap(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>) {
fn build_num_mul_wrap(
&mut self,
dst: &Symbol,
src1: &Symbol,
src2: &Symbol,
layout: &InLayout<'a>,
) {
use Builtin::Int;
match self.layout_interner.get_repr(*layout) {

View file

@ -1965,7 +1965,13 @@ trait Backend<'a> {
fn build_num_mul(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
/// build_num_mul_wrap stores `src1 * src2` into dst.
fn build_num_mul_wrap(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);
fn build_num_mul_wrap(
&mut self,
dst: &Symbol,
src1: &Symbol,
src2: &Symbol,
layout: &InLayout<'a>,
);
/// build_num_mul stores `src1 / src2` into dst.
fn build_num_div(&mut self, dst: &Symbol, src1: &Symbol, src2: &Symbol, layout: &InLayout<'a>);