public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox-datacenter-manager 1/4] elide lifetimes in traits when possible
Date: Mon, 13 Jan 2025 13:08:28 +0100	[thread overview]
Message-ID: <20250113120831.299244-1-m.sandoval@proxmox.com> (raw)

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


             reply	other threads:[~2025-01-13 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-13 12:08 Maximiliano Sandoval [this message]
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

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=20250113120831.299244-1-m.sandoval@proxmox.com \
    --to=m.sandoval@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 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