cloud-hypervisor/virtio-devices/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
..
transport misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
vhost_user misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
vsock misc: Elide needless lifetimes 2024-10-18 17:46:39 +00:00
balloon.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
block.rs misc: Replace map_or on false with is_some_and 2024-11-29 12:44:33 +00:00
console.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
device.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
epoll_helper.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
iommu.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
mem.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
net.rs misc: Replace map_or on false with is_some_and 2024-11-29 12:44:33 +00:00
pmem.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
rng.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
seccomp_filters.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
thread_helper.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
vdpa.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
watchdog.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00