cloud-hypervisor/net_util/src
Ruoqing He ab7b294688 misc: Replace map_or on false with is_some_and
Replace `map_or()` on false condition with `is_some_and` to provide
better readability, as suggestted by v1.84.0-beta.1 `cargo clippy`.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
2024-11-29 12:44:33 +00:00
..
ctrl_queue.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
lib.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
mac.rs misc: Eliminate use of assert!((...).is_ok()) 2024-10-03 12:03:49 +00:00
open_tap.rs misc: Replace map_or on false with is_some_and 2024-11-29 12:44:33 +00:00
queue_pair.rs misc: Replace map_or on false with is_some_and 2024-11-29 12:44:33 +00:00
tap.rs misc: Use c"" to construct nul-terminated string 2024-10-18 17:46:39 +00:00