On 07.07.2025 14:19, Wolfgang Bumiller wrote:
On Wed, Jul 02, 2025 at 04:50:02PM +0200, Gabriel Goller wrote:
[snip]
+impl std::fmt::Display for NodeSectionId {
+    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
+        write!(f, "{}_{}", self.fabric_id.as_ref(), self.node_id)

^ The .as_ref() could be dropped - or also added to node_id... but they
both implement `Display` by forwarding anyway.

Removed the .as_ref().

+    }
+}
+

Thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to