[pve-devel] [PATCH proxmox-perl-rs v2 13/15] pmg-rs: acme: clippy: reference is immediately deref'd by the compiler

Lukas Wagner l.wagner at proxmox.com
Fri Aug 2 14:25:40 CEST 2024


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 pmg-rs/src/acme.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pmg-rs/src/acme.rs b/pmg-rs/src/acme.rs
index 7ea78c6..e2e7327 100644
--- a/pmg-rs/src/acme.rs
+++ b/pmg-rs/src/acme.rs
@@ -403,7 +403,7 @@ pub mod export {
         this.inner
             .lock()
             .unwrap()
-            .revoke_certificate(&data, reason)?;
+            .revoke_certificate(data, reason)?;
         Ok(())
     }
 
-- 
2.39.2





More information about the pve-devel mailing list