@@ -94,7 +94,7 @@ impl Step for Docs {
9494
9595 builder. info ( & format ! ( "Dist docs ({})" , host) ) ;
9696 if !builder. config . docs {
97- builder. info ( & format ! ( "\t skipping - docs disabled" ) ) ;
97+ builder. info ( "\t skipping - docs disabled" ) ;
9898 return distdir ( builder) . join ( format ! ( "{}-{}.tar.gz" , name, host) ) ;
9999 }
100100
@@ -156,7 +156,7 @@ impl Step for RustcDocs {
156156
157157 builder. info ( & format ! ( "Dist compiler docs ({})" , host) ) ;
158158 if !builder. config . compiler_docs {
159- builder. info ( & format ! ( "\t skipping - compiler docs disabled" ) ) ;
159+ builder. info ( "\t skipping - compiler docs disabled" ) ;
160160 return distdir ( builder) . join ( format ! ( "{}-{}.tar.gz" , name, host) ) ;
161161 }
162162
@@ -639,7 +639,7 @@ impl Step for Std {
639639 // The only true set of target libraries came from the build triple, so
640640 // let's reduce redundant work by only producing archives from that host.
641641 if compiler. host != builder. config . build {
642- builder. info ( & format ! ( "\t skipping, not a build host" ) ) ;
642+ builder. info ( "\t skipping, not a build host" ) ;
643643 return distdir ( builder) . join ( format ! ( "{}-{}.tar.gz" , name, target) ) ;
644644 }
645645
@@ -715,11 +715,11 @@ impl Step for Analysis {
715715 let compiler = self . compiler ;
716716 let target = self . target ;
717717 assert ! ( builder. config. extended) ;
718- builder. info ( & format ! ( "Dist analysis" ) ) ;
718+ builder. info ( "Dist analysis" ) ;
719719 let name = pkgname ( builder, "rust-analysis" ) ;
720720
721721 if & compiler. host != builder. config . build {
722- builder. info ( & format ! ( "\t skipping, not a build host" ) ) ;
722+ builder. info ( "\t skipping, not a build host" ) ;
723723 return distdir ( builder) . join ( format ! ( "{}-{}.tar.gz" , name, target) ) ;
724724 }
725725
@@ -824,7 +824,7 @@ impl Step for Src {
824824
825825 /// Creates the `rust-src` installer component
826826 fn run ( self , builder : & Builder ) -> PathBuf {
827- builder. info ( & format ! ( "Dist src" ) ) ;
827+ builder. info ( "Dist src" ) ;
828828
829829 let name = pkgname ( builder, "rust-src" ) ;
830830 let image = tmpdir ( builder) . join ( format ! ( "{}-image" , name) ) ;
@@ -918,7 +918,7 @@ impl Step for PlainSourceTarball {
918918
919919 /// Creates the plain source tarball
920920 fn run ( self , builder : & Builder ) -> PathBuf {
921- builder. info ( & format ! ( "Create plain source tarball" ) ) ;
921+ builder. info ( "Create plain source tarball" ) ;
922922
923923 // Make sure that the root folder of tarball has the correct name
924924 let plain_name = format ! ( "{}-src" , pkgname( builder, "rustc" ) ) ;
@@ -998,7 +998,7 @@ impl Step for PlainSourceTarball {
998998 if let Some ( dir) = tarball. parent ( ) {
999999 builder. create_dir ( & dir) ;
10001000 }
1001- builder. info ( & format ! ( "running installer" ) ) ;
1001+ builder. info ( "running installer" ) ;
10021002 let mut cmd = rust_installer ( builder) ;
10031003 cmd. arg ( "tarball" )
10041004 . arg ( "--input" ) . arg ( & plain_name)
0 commit comments