mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
0a97b76c52
error: this boolean expression can be simplified --> hypervisor/src/mshv/mod.rs:348:25 | 348 | !(unsafe { access_info.__bindgen_anon_1.string_op() } == 1), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.string_op() } != 1` | = note: `-D clippy::nonminimal-bool` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool error: this boolean expression can be simplified --> hypervisor/src/mshv/mod.rs:352:25 | 352 | !(unsafe { access_info.__bindgen_anon_1.rep_prefix() } == 1), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.rep_prefix() } != 1` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |