[pdm-devel] [PATCH proxmox-api-types 2/4] types: elide lifetimes when possible
Maximiliano Sandoval
m.sandoval at proxmox.com
Mon Jan 13 13:12:22 CET 2025
Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
pve-api-types/src/types/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-api-types/src/types/mod.rs b/pve-api-types/src/types/mod.rs
index bbcc32c..e8f5c86 100644
--- a/pve-api-types/src/types/mod.rs
+++ b/pve-api-types/src/types/mod.rs
@@ -117,7 +117,7 @@ impl<'de> serde::Deserialize<'de> for PveUpid {
{
struct ForwardToStrVisitor;
- impl<'a> serde::de::Visitor<'a> for ForwardToStrVisitor {
+ impl serde::de::Visitor<'_> for ForwardToStrVisitor {
type Value = PveUpid;
fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
--
2.39.5
More information about the pdm-devel
mailing list