From: Lukas Wagner <l.wagner@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager 3/3] pbs-client: fix 'useless use of `format!`' clippy warning
Date: Thu, 16 Oct 2025 13:35:48 +0200 [thread overview]
Message-ID: <20251016113548.213211-4-l.wagner@proxmox.com> (raw)
In-Reply-To: <20251016113548.213211-1-l.wagner@proxmox.com>
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
server/src/pbs_client.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/server/src/pbs_client.rs b/server/src/pbs_client.rs
index d8278c8a..433b5d4b 100644
--- a/server/src/pbs_client.rs
+++ b/server/src/pbs_client.rs
@@ -216,8 +216,7 @@ impl PbsClient {
propagate: true,
};
- let path = format!("/api2/extjs/access/acl");
- self.0.put(&path, &acl).await?;
+ self.0.put("/api2/extjs/access/acl", &acl).await?;
Ok(token)
}
--
2.47.3
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2025-10-16 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-16 11:35 [pdm-devel] [PATCH datacenter-manager 0/3] clippy fixes Lukas Wagner
2025-10-16 11:35 ` [pdm-devel] [PATCH datacenter-manager 1/3] task cache: " Lukas Wagner
2025-10-16 11:35 ` [pdm-devel] [PATCH datacenter-manager 2/3] api: resources: fix 'irrefutable let pattern' clippy warning Lukas Wagner
2025-10-16 11:35 ` Lukas Wagner [this message]
2025-10-16 22:48 ` [pdm-devel] applied: [PATCH datacenter-manager 0/3] clippy fixes Thomas Lamprecht
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=20251016113548.213211-4-l.wagner@proxmox.com \
--to=l.wagner@proxmox.com \
--cc=pdm-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.