[pve-devel] [PATCH proxmox-perl-rs 03/15] pve-rs: tfa: clippy: this function has too many arguments

Lukas Wagner l.wagner at proxmox.com
Thu Jun 20 13:50:09 CEST 2024


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

diff --git a/pve-rs/src/tfa.rs b/pve-rs/src/tfa.rs
index 798cdad..6650151 100644
--- a/pve-rs/src/tfa.rs
+++ b/pve-rs/src/tfa.rs
@@ -409,6 +409,7 @@ mod export {
         methods::list_tfa(&this.inner.lock().unwrap(), authid, top_level_allowed)
     }
 
+    #[allow(clippy::too_many_arguments)]
     #[export]
     fn api_add_tfa_entry(
         #[raw] raw_this: Value,
-- 
2.39.2





More information about the pve-devel mailing list