]> git.proxmox.com Git - perlmod.git/commitdiff
clippy: don't explicitly drop args in generated code
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Jun 2022 09:51:42 +0000 (11:51 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 10 Jun 2022 09:51:42 +0000 (11:51 +0200)
While code seems to still compile, this was initially done
to explicitly get rid of potential borrows and doesn't seem
to be necessary anymore?

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
perlmod-macro/src/function.rs

index 3dce057d4eecae17a88679b9607793946edcbc66..7d381222150a4fc6d4c05449adc35ef1eb0afb04 100644 (file)
@@ -254,7 +254,7 @@ pub fn handle_function(
                     .into_raw());
             }
 
-            drop(args);
+            //drop(args);
 
             #deserialized_arguments