mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
error: this returns a `Result<_, ()> --> net_util/src/mac.rs:68:5 | 68 | pub fn from_bytes(src: &[u8]) -> Result<MacAddr, ()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::result-unit-err` implied by `-D warnings` = help: use a custom Error type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err Replace with std::io::Error like other locations in the same file. Signed-off-by: Rob Bradford <robert.bradford@intel.com> |
||
---|---|---|
.. | ||
lib.rs | ||
mac.rs | ||
open_tap.rs | ||
queue_pair.rs | ||
tap.rs |