codegen_cranelift: Fix redundant semicolon warn

This commit is contained in:
Ömer Sinan Ağacan 2021-01-16 07:17:13 +03:00
parent 77f74ed070
commit ea73caa3b7

View File

@ -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);
};