[pve-devel] [PATCH proxmox-ve-rs v4 11/22] config: sdn: fabrics: add node section types
Gabriel Goller
g.goller at proxmox.com
Mon Jul 7 19:22:28 CEST 2025
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!
More information about the pve-devel
mailing list