cloud-hypervisor/vhost_user_block/src
Bo Chen 5825ab2dd4 clippy: Address the issue 'needless-borrow'
Issue from beta verion of clippy:

Error:    --> vm-virtio/src/queue.rs:700:59
    |
700 |             if let Some(used_event) = self.get_used_event(&mem) {
    |                                                           ^^^^ help: change this to: `mem`
    |
    = note: `-D clippy::needless-borrow` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Signed-off-by: Bo Chen <chen.bo@intel.com>
2021-06-24 08:55:43 +02:00
..
lib.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00
main.rs vhost_user_block: Move binary into vhost_user_block crate 2020-07-06 10:56:10 +02:00