mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 23:41:15 +00:00
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 |