From: Shannon Sterz <s.sterz@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH yew-mobile-gui 2/3] dashboard panel: remove unnecessary binding modifiers
Date: Mon, 10 Nov 2025 13:52:35 +0100 [thread overview]
Message-ID: <20251110125236.247271-3-s.sterz@proxmox.com> (raw)
In-Reply-To: <20251110125236.247271-1-s.sterz@proxmox.com>
this is now a compiler error in edition 2024 and ws unnecessary
anyway.
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
src/pages/page_qemu_status/dashboard_panel.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/page_qemu_status/dashboard_panel.rs b/src/pages/page_qemu_status/dashboard_panel.rs
index 0a61d55..0250a58 100644
--- a/src/pages/page_qemu_status/dashboard_panel.rs
+++ b/src/pages/page_qemu_status/dashboard_panel.rs
@@ -335,7 +335,7 @@ impl Component for PveQemuDashboardPanel {
Ok(mut data) => {
// hack: The PVE api sometimes return Null for diskread/diskwrite
// so we simply remove Null values...
- if let Value::Object(ref mut map) = &mut data {
+ if let Value::Object(map) = &mut data {
map.retain(|_k, v| v != &Value::Null);
}
let data = serde_json::from_value::<QemuStatus>(data)
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2025-11-10 12:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 12:52 [pve-devel] [PATCH yew-mobile-gui 0/3] update to edition 2024 and skip consent banner when openid authorization is present Shannon Sterz
2025-11-10 12:52 ` [pve-devel] [PATCH yew-mobile-gui 1/3] update rust edition to 2024 Shannon Sterz
2025-11-10 12:52 ` Shannon Sterz [this message]
2025-11-10 12:52 ` [pve-devel] [PATCH yew-mobile-gui 3/3] page login: skip consent banner when openid authorization is present Shannon Sterz
2025-11-10 13:04 ` [pve-devel] applied: [PATCH yew-mobile-gui 0/3] update to edition 2024 and " Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251110125236.247271-3-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.