public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-firewall 1/2] clippy: useless use of `format!`
@ 2024-11-25 16:18 Stefan Hanreich
  2024-11-25 16:18 ` [pve-devel] [PATCH proxmox-ve-rs 2/2] clippy: you should consider adding a `Default` implementation for `Group` Stefan Hanreich
  2024-11-25 21:06 ` [pve-devel] applied-series: [PATCH proxmox-firewall 1/2] clippy: useless use of `format!` Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Hanreich @ 2024-11-25 16:18 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
 proxmox-firewall/src/firewall.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-firewall/src/firewall.rs b/proxmox-firewall/src/firewall.rs
index cdbe401..88fb460 100644
--- a/proxmox-firewall/src/firewall.rs
+++ b/proxmox-firewall/src/firewall.rs
@@ -96,7 +96,7 @@ impl Firewall {
     }
 
     fn guest_invalid_conntrack_chain() -> ChainPart {
-        ChainPart::new(Self::guest_table(), format!("invalid-conntrack"))
+        ChainPart::new(Self::guest_table(), "invalid-conntrack".to_string())
     }
 
     fn host_conntrack_chain() -> ChainPart {
-- 
2.39.5


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-25 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-25 16:18 [pve-devel] [PATCH proxmox-firewall 1/2] clippy: useless use of `format!` Stefan Hanreich
2024-11-25 16:18 ` [pve-devel] [PATCH proxmox-ve-rs 2/2] clippy: you should consider adding a `Default` implementation for `Group` Stefan Hanreich
2024-11-25 21:06 ` [pve-devel] applied-series: [PATCH proxmox-firewall 1/2] clippy: useless use of `format!` Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal