cloud-hypervisor/net_util/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
..
ctrl_queue.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00
lib.rs misc: Upgrade to use the vm-memory crate w/ dirty-page-tracking 2021-06-03 08:34:45 +01:00
mac.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00
open_tap.rs misc: Remove unused errors from public interface 2021-05-11 13:37:19 +02:00
queue_pair.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00
tap.rs clippy: Address the issue 'needless-borrow' 2021-06-24 08:55:43 +02:00