summary refs log tree commit diff
path: root/src/bootstrap/bin
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-08-09 21:15:00 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-08-17 08:59:36 +0100
commit6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2 (patch)
treeb5b55debec5e38e615cabb7787246b6c2e26ffe2 /src/bootstrap/bin
parent497b50206229c28b89150960e2193964d02e8ef6 (diff)
downloadrust-6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2.tar.gz
rust-6ee60af1ab6981e59eee4dd08bd508b4ae52c2e2.zip
Make built-in derives opaque macros
Diffstat (limited to 'src/bootstrap/bin')
-rw-r--r--src/bootstrap/bin/rustc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs
index da372781738..ce92ce02696 100644
--- a/src/bootstrap/bin/rustc.rs
+++ b/src/bootstrap/bin/rustc.rs
@@ -37,7 +37,7 @@ fn main() {
             let mut new = None;
             if let Some(current_as_str) = args[i].to_str() {
                 if (&*args[i - 1] == "-C" && current_as_str.starts_with("metadata")) ||
-                   current_as_str.starts_with("-Cmetadata") {
+                    current_as_str.starts_with("-Cmetadata") {
                     new = Some(format!("{}-{}", current_as_str, s));
                 }
             }
@@ -89,7 +89,7 @@ fn main() {
     if let Some(crate_name) = crate_name {
         if let Some(target) = env::var_os("RUSTC_TIME") {
             if target == "all" ||
-               target.into_string().unwrap().split(",").any(|c| c.trim() == crate_name)
+                target.into_string().unwrap().split(",").any(|c| c.trim() == crate_name)
             {
                 cmd.arg("-Ztime");
             }