mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
9f2e7f455f
error: casting integer literal to `u64` is unnecessary --> block_util/src/lib.rs:35:30 | 35 | pub const SECTOR_SIZE: u64 = (0x01 as u64) << SECTOR_SHIFT; | ^^^^^^^^^^^^^ help: try: `0x01_u64` | = note: `-D clippy::unnecessary-cast` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |