Rollup merge of #81065 - osa1:cranelift_semicolon_warning, r=jyn514

codegen_cranelift: Fix redundant semicolon warn
This commit is contained in:
Mara Bos
2021-01-16 17:30:13 +00:00
committed by GitHub
@@ -824,7 +824,7 @@ fn swap(bcx: &mut FunctionBuilder<'_>, v: Value) -> Value {
}
ty => unreachable!("bswap {}", ty),
}
};
}
let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T));
ret.write_cvalue(fx, res);
};