]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/flags.rs
bootstrap: fix a couple of clippy lint warnings
[rust.git] / src / bootstrap / flags.rs
index 56e4f0467cc50967978d2752e7cf99374e460977..38b3a32e3b5fbecd2dc01d9077145e9c0db10f13 100644 (file)
@@ -505,14 +505,11 @@ pub fn parse(args: &[String]) -> Flags {
 
         if let Subcommand::Check { .. } = &cmd {
             if matches.opt_str("stage").is_some() {
-                println!("{}", "--stage not supported for x.py check, always treated as stage 0");
+                println!("--stage not supported for x.py check, always treated as stage 0");
                 process::exit(1);
             }
             if matches.opt_str("keep-stage").is_some() {
-                println!(
-                    "{}",
-                    "--keep-stage not supported for x.py check, only one stage available"
-                );
+                println!("--keep-stage not supported for x.py check, only one stage available");
                 process::exit(1);
             }
         }