]> git.proxmox.com Git - cargo.git/blobdiff - src/bin/cargo/cli.rs
Make clippy happy
[cargo.git] / src / bin / cargo / cli.rs
index 465d6abd2c08dca079d1ef9270250a9bcf1dd6c9..89f27f1019a8f545467ac080bba4a5edeaef136b 100644 (file)
@@ -47,7 +47,7 @@ pub fn main(config: &mut Config) -> CliResult {
                         _ => None,
                     })
                     .expect("UnrecognizedSubcommand implies the presence of InvalidSubcommand");
-                return super::execute_external_subcommand(config, &cmd, &[&cmd, "--help"])
+                return super::execute_external_subcommand(config, cmd, &[cmd, "--help"])
                     .map_err(|_| e.into());
             } else {
                 return Err(e.into());