public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH proxmox-datacenter-manager 1/4] elide lifetimes in traits when possible
@ 2025-01-13 12:08 Maximiliano Sandoval
  2025-01-13 12:08 ` [pdm-devel] [PATCH proxmox-datacenter-manager 2/4] remove needless borrows Maximiliano Sandoval
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maximiliano Sandoval @ 2025-01-13 12:08 UTC (permalink / raw)
  To: pdm-devel

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 cli/client/src/resources.rs              | 2 +-
 lib/pdm-config/src/certificate_config.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cli/client/src/resources.rs b/cli/client/src/resources.rs
index 53ee2e0..cbc616a 100644
--- a/cli/client/src/resources.rs
+++ b/cli/client/src/resources.rs
@@ -248,7 +248,7 @@ impl<'a, T: fmt::Display> Formatted<'a, T> {
     }
 }
 
-impl<'a, T: fmt::Display> fmt::Display for Formatted<'a, T> {
+impl<T: fmt::Display> fmt::Display for Formatted<'_, T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         if env().use_color() {
             write!(f, "{}{}{}", self.format, self.content, COLOR_RESET)
diff --git a/lib/pdm-config/src/certificate_config.rs b/lib/pdm-config/src/certificate_config.rs
index 0cec037..360cc87 100644
--- a/lib/pdm-config/src/certificate_config.rs
+++ b/lib/pdm-config/src/certificate_config.rs
@@ -123,7 +123,7 @@ impl<'a> AcmeDomainIter<'a> {
     }
 }
 
-impl<'a> Iterator for AcmeDomainIter<'a> {
+impl Iterator for AcmeDomainIter<'_> {
     type Item = Result<AcmeDomain, Error>;
 
     fn next(&mut self) -> Option<Self::Item> {
-- 
2.39.5



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


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

end of thread, other threads:[~2025-01-13 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-13 12:08 [pdm-devel] [PATCH proxmox-datacenter-manager 1/4] elide lifetimes in traits when possible Maximiliano Sandoval
2025-01-13 12:08 ` [pdm-devel] [PATCH proxmox-datacenter-manager 2/4] remove needless borrows Maximiliano Sandoval
2025-01-13 12:08 ` [pdm-devel] [PATCH proxmox-datacenter-manager 3/4] task_cache: Do field assigment inside initializer Maximiliano Sandoval
2025-01-13 12:08 ` [pdm-devel] [PATCH proxmox-datacenter-manager 4/4] resources: Remove unnecessary closure Maximiliano Sandoval
2025-01-13 12:15 ` [pdm-devel] applied: [PATCH proxmox-datacenter-manager 1/4] elide lifetimes in traits when possible Dietmar Maurer

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