mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-23 14:15:19 +00:00
a4134f6b25
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |