mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
8e9a5a0dbb
This addresses a newly added clippy issue: error: methods called `as_*` usually take self by reference or self by mutable reference; consider choosing a less ambiguous name --> vm-migration/src/protocol.rs:57:34 | 57 | fn as_mut_bytes<T: Sized>(p: &mut T) -> &mut [u8] { | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention error: aborting due to 2 previous errors error: could not compile `vm-migration` Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |