]> git.proxmox.com Git - rustc.git/blobdiff - src/bootstrap/flags.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / bootstrap / flags.rs
index 55062e11e029a75b7fee5e020cee491f5ed6e638..6044899c237e22b0bdd027258e2ba353a59793e8 100644 (file)
@@ -347,7 +347,7 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
         };
 
         // Done specifying what options are possible, so do the getopts parsing
-        let matches = opts.parse(&args[..]).unwrap_or_else(|e| {
+        let matches = opts.parse(args).unwrap_or_else(|e| {
             // Invalid argument/option format
             println!("\n{}\n", e);
             usage(1, &opts, false, &subcommand_help);