]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/builder.rs
Fix typo in source-based-code-coverage.md
[rust.git] / src / bootstrap / builder.rs
index c271608a6b6430ada5d7f47851ceea4e51c9871a..ec9ce4c820c69f18b72823735b47710b86d84f43 100644 (file)
@@ -736,10 +736,7 @@ pub fn rustdoc_cmd(&self, compiler: Compiler) -> Command {
         if self.config.deny_warnings {
             cmd.arg("-Dwarnings");
         }
-        // cfg(not(bootstrap)), can be removed on the next beta bump
-        if compiler.stage != 0 {
-            cmd.arg("-Znormalize-docs");
-        }
+        cmd.arg("-Znormalize-docs");
 
         // Remove make-related flags that can cause jobserver problems.
         cmd.env_remove("MAKEFLAGS");
@@ -1537,7 +1534,7 @@ fn env(&mut self, env: &str) {
     fn arg(&mut self, arg: &str) -> &mut Self {
         assert_eq!(arg.split(' ').count(), 1);
         if !self.0.is_empty() {
-            self.0.push_str(" ");
+            self.0.push(' ');
         }
         self.0.push_str(arg);
         self