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 @@ -291,7 +291,7 @@ pub fn crate_description(crates: &[impl AsRef<str>]) -> String {
291
291
return "" . into ( ) ;
292
292
}
293
293
294
- let mut descr = String :: from ( " {" ) ;
294
+ let mut descr = String :: from ( "{" ) ;
295
295
descr. push_str ( crates[ 0 ] . as_ref ( ) ) ;
296
296
for krate in & crates[ 1 ..] {
297
297
descr. push_str ( ", " ) ;
Original file line number Diff line number Diff line change @@ -1878,9 +1878,10 @@ mod snapshot {
1878
1878
[test] CoverageRunRustdoc <host>
1879
1879
[test] Pretty <host>
1880
1880
[build] rustc 1 <host> -> std 1 <host>
1881
+ [build] rustc 0 <host> -> std 0 <host>
1882
+ [build] rustdoc 0 <host>
1881
1883
[test] CrateLibrustc <host>
1882
1884
[build] rustc 1 <host> -> rustc 2 <host>
1883
- [build] rustdoc 0 <host>
1884
1885
[test] crate-bootstrap <host> src/tools/coverage-dump
1885
1886
[test] crate-bootstrap <host> src/tools/jsondoclint
1886
1887
[test] crate-bootstrap <host> src/tools/replace-version-placeholder
@@ -1915,7 +1916,7 @@ mod snapshot {
1915
1916
[doc] rustc (book) <host>
1916
1917
[test] rustc 1 <host> -> lint-docs 2 <host>
1917
1918
[doc] rustc 1 <host> -> std 1 <host> crates=[]
1918
- [test] rustc 1 <host> -> rustdoc-js-std 2 <host>
1919
+ [test] rustdoc-js-std 1 <host>
1919
1920
[build] rustc 0 <host> -> RustdocTheme 1 <host>
1920
1921
[test] rustdoc-theme 1 <host>
1921
1922
[test] RustdocUi <host>
Original file line number Diff line number Diff line change @@ -1130,14 +1130,18 @@ impl Build {
1130
1130
} ;
1131
1131
1132
1132
let action = action. into ( ) . description ( ) ;
1133
- let msg = |fmt| format ! ( "{action} stage{actual_stage} {what}{fmt}" ) ;
1133
+ let what = what. to_string ( ) ;
1134
+ let msg = |fmt| {
1135
+ let space = if !what. is_empty ( ) { " " } else { "" } ;
1136
+ format ! ( "{action} stage{actual_stage} {what}{space}{fmt}" )
1137
+ } ;
1134
1138
let msg = if let Some ( target) = target. into ( ) {
1135
1139
let build_stage = host_and_stage. stage ;
1136
1140
let host = host_and_stage. host ;
1137
1141
if host == target {
1138
- msg ( format_args ! ( " (stage{build_stage} -> stage{actual_stage}, {target})" ) )
1142
+ msg ( format_args ! ( "(stage{build_stage} -> stage{actual_stage}, {target})" ) )
1139
1143
} else {
1140
- msg ( format_args ! ( " (stage{build_stage}:{host} -> stage{actual_stage}:{target})" ) )
1144
+ msg ( format_args ! ( "(stage{build_stage}:{host} -> stage{actual_stage}:{target})" ) )
1141
1145
}
1142
1146
} else {
1143
1147
msg ( format_args ! ( "" ) )
You can’t perform that action at this time.
0 commit comments