提交 b681631e 编写于 作者: Ö Ömer Sinan Ağacan

codegen_cranelift: Fix redundant semicolon warn

上级 6c869d34
...@@ -824,7 +824,7 @@ fn swap(bcx: &mut FunctionBuilder<'_>, v: Value) -> Value { ...@@ -824,7 +824,7 @@ fn swap(bcx: &mut FunctionBuilder<'_>, v: Value) -> Value {
} }
ty => unreachable!("bswap {}", ty), ty => unreachable!("bswap {}", ty),
} }
}; }
let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T)); let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T));
ret.write_cvalue(fx, res); ret.write_cvalue(fx, res);
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册