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 @@ -1801,9 +1801,10 @@ mod snapshot {
1801
1801
[test] CoverageRunRustdoc <host>
1802
1802
[test] Pretty <host>
1803
1803
[build] rustc 1 <host> -> std 1 <host>
1804
+ [build] rustc 0 <host> -> std 0 <host>
1805
+ [build] rustdoc 0 <host>
1804
1806
[test] CrateLibrustc <host>
1805
1807
[build] rustc 1 <host> -> rustc 2 <host>
1806
- [build] rustdoc 0 <host>
1807
1808
[test] crate-bootstrap <host> src/tools/coverage-dump
1808
1809
[test] crate-bootstrap <host> src/tools/jsondoclint
1809
1810
[test] crate-bootstrap <host> src/tools/replace-version-placeholder
@@ -1838,7 +1839,7 @@ mod snapshot {
1838
1839
[doc] rustc (book) <host>
1839
1840
[test] rustc 1 <host> -> lint-docs 2 <host>
1840
1841
[doc] rustc 1 <host> -> std 1 <host> crates=[]
1841
- [test] rustc 1 <host> -> rustdoc-js-std 2 <host>
1842
+ [test] rustdoc-js-std 1 <host>
1842
1843
[build] rustc 0 <host> -> RustdocTheme 1 <host>
1843
1844
[test] rustdoc-theme 1 <host>
1844
1845
[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