mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
warning: casting raw pointers to the same type and constness is unnecessary (`*const protocol::MemoryRange` -> `*const protocol::MemoryRange`) --> vm-migration/src/protocol.rs:280:17 | 280 | self.data.as_ptr() as *const MemoryRange as *const u8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.data.as_ptr()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default Signed-off-by: Yu Li <liyu.yukiteru@bytedance.com> |
||
---|---|---|
.. | ||
ctrl_queue.rs | ||
lib.rs | ||
mac.rs | ||
open_tap.rs | ||
queue_pair.rs | ||
tap.rs |