cloud-hypervisor/qcow/src
Rob Bradford d2de263774 qcow: Use .contains() for range check
error: manual `!RangeInclusive::contains` implementation
   --> qcow/src/qcow.rs:412:12
    |
412 |         if cluster_bits < MIN_CLUSTER_BITS || cluster_bits > MAX_CLUSTER_BITS {
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `!(MIN_CLUSTER_BITS..=MAX_CLUSTER_BITS).contains(&cluster_bits)`
    |
    = note: `-D clippy::manual-range-contains` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-01-04 13:46:37 +01:00
..
qcow_raw_file.rs qcow, virtio-devices: Break cyclic dependency 2020-07-10 17:47:31 +02:00
qcow.rs qcow: Use .contains() for range check 2021-01-04 13:46:37 +01:00
raw_file.rs qcow: raw_file: Fix clippy warning 2020-08-13 16:09:24 +02:00
refcount.rs build: Address issues found by 1.43.0 clippy 2020-05-27 19:32:12 +02:00
vec_cache.rs arch, qcow: Fix 1.42.0 clippy warnings 2020-03-13 12:26:15 +00:00