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

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


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

diff --git a/pmg-rs/src/tfa.rs b/pmg-rs/src/tfa.rs
index a97d171..928b50b 100644
--- a/pmg-rs/src/tfa.rs
+++ b/pmg-rs/src/tfa.rs
@@ -361,6 +361,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