[pdm-devel] [PATCH datacenter-manager 1/4] ui: pve: storage: clippy fix
Dominik Csapak
d.csapak at proxmox.com
Fri Sep 26 09:20:05 CEST 2025
unnecessary reference, after we remove that, it's an unnecessary closure
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
ui/src/pve/storage.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/pve/storage.rs b/ui/src/pve/storage.rs
index 4f5abbe9..d5b25063 100644
--- a/ui/src/pve/storage.rs
+++ b/ui/src/pve/storage.rs
@@ -282,7 +282,7 @@ impl yew::Component for StoragePanelComp {
status
.content
.iter()
- .map(|c| render_content_type(&c))
+ .map(render_content_type)
.collect::<Vec<_>>()
.join(", "),
))
--
2.47.3
More information about the pdm-devel
mailing list