File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ pub fn crate_description(crates: &[impl AsRef<str>]) -> String {
295295 return "" . into ( ) ;
296296 }
297297
298- let mut descr = String :: from ( " {" ) ;
298+ let mut descr = String :: from ( "{" ) ;
299299 descr. push_str ( crates[ 0 ] . as_ref ( ) ) ;
300300 for krate in & crates[ 1 ..] {
301301 descr. push_str ( ", " ) ;
Original file line number Diff line number Diff line change @@ -2064,9 +2064,10 @@ mod snapshot {
20642064 [test] CoverageRunRustdoc <host>
20652065 [test] Pretty <host>
20662066 [build] rustc 1 <host> -> std 1 <host>
2067+ [build] rustc 0 <host> -> std 0 <host>
2068+ [build] rustdoc 0 <host>
20672069 [test] CrateLibrustc <host>
20682070 [build] rustc 1 <host> -> rustc 2 <host>
2069- [build] rustdoc 0 <host>
20702071 [test] crate-bootstrap <host> src/tools/coverage-dump
20712072 [test] crate-bootstrap <host> src/tools/jsondoclint
20722073 [test] crate-bootstrap <host> src/tools/replace-version-placeholder
@@ -2101,7 +2102,7 @@ mod snapshot {
21012102 [doc] rustc (book) <host>
21022103 [test] rustc 1 <host> -> lint-docs 2 <host>
21032104 [doc] rustc 1 <host> -> std 1 <host> crates=[]
2104- [test] rustc 1 <host> -> rustdoc-js-std 2 <host>
2105+ [test] rustdoc-js-std 1 <host>
21052106 [build] rustc 0 <host> -> RustdocTheme 1 <host>
21062107 [test] rustdoc-theme 1 <host>
21072108 [test] RustdocUi <host>
Original file line number Diff line number Diff line change @@ -1144,14 +1144,18 @@ impl Build {
11441144 } ;
11451145
11461146 let action = action. into ( ) . description ( ) ;
1147- let msg = |fmt| format ! ( "{action} stage{actual_stage} {what}{fmt}" ) ;
1147+ let what = what. to_string ( ) ;
1148+ let msg = |fmt| {
1149+ let space = if !what. is_empty ( ) { " " } else { "" } ;
1150+ format ! ( "{action} stage{actual_stage} {what}{space}{fmt}" )
1151+ } ;
11481152 let msg = if let Some ( target) = target. into ( ) {
11491153 let build_stage = host_and_stage. stage ;
11501154 let host = host_and_stage. host ;
11511155 if host == target {
1152- msg ( format_args ! ( " (stage{build_stage} -> stage{actual_stage}, {target})" ) )
1156+ msg ( format_args ! ( "(stage{build_stage} -> stage{actual_stage}, {target})" ) )
11531157 } else {
1154- msg ( format_args ! ( " (stage{build_stage}:{host} -> stage{actual_stage}:{target})" ) )
1158+ msg ( format_args ! ( "(stage{build_stage}:{host} -> stage{actual_stage}:{target})" ) )
11551159 }
11561160 } else {
11571161 msg ( format_args ! ( "" ) )
You can’t perform that action at this time.
0 commit comments