tree wide: clippy lint fixes

most (not all) where done automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht committed 2022-06-02 15:59:55 +02:00
1 parent c39852abdc
commit fbfb64a6b2
21 files changed
+34 -46

No files matched your search

+1 -2
View File
@@ -204,7 +204,6 @@ pub fn complete_block_driver_ids<S: BuildHasher>(
ALL_DRIVERS
.iter()
.map(BlockDriverType::resolve)
.map(|d| d.list())
.flatten()
.flat_map(|d| d.list())
.collect()
}