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 {
295
295
return "" . into ( ) ;
296
296
}
297
297
298
- let mut descr = String :: from ( " {" ) ;
298
+ let mut descr = String :: from ( "{" ) ;
299
299
descr. push_str ( crates[ 0 ] . as_ref ( ) ) ;
300
300
for krate in & crates[ 1 ..] {
301
301
descr. push_str ( ", " ) ;
Original file line number Diff line number Diff line change @@ -2017,9 +2017,10 @@ mod snapshot {
2017
2017
[test] CoverageRunRustdoc <host>
2018
2018
[test] Pretty <host>
2019
2019
[build] rustc 1 <host> -> std 1 <host>
2020
+ [build] rustc 0 <host> -> std 0 <host>
2021
+ [build] rustdoc 0 <host>
2020
2022
[test] CrateLibrustc <host>
2021
2023
[build] rustc 1 <host> -> rustc 2 <host>
2022
- [build] rustdoc 0 <host>
2023
2024
[test] crate-bootstrap <host> src/tools/coverage-dump
2024
2025
[test] crate-bootstrap <host> src/tools/jsondoclint
2025
2026
[test] crate-bootstrap <host> src/tools/replace-version-placeholder
@@ -2054,7 +2055,7 @@ mod snapshot {
2054
2055
[doc] rustc (book) <host>
2055
2056
[test] rustc 1 <host> -> lint-docs 2 <host>
2056
2057
[doc] rustc 1 <host> -> std 1 <host> crates=[]
2057
- [test] rustc 1 <host> -> rustdoc-js-std 2 <host>
2058
+ [test] rustdoc-js-std 1 <host>
2058
2059
[build] rustc 0 <host> -> RustdocTheme 1 <host>
2059
2060
[test] rustdoc-theme 1 <host>
2060
2061
[test] RustdocUi <host>
Original file line number Diff line number Diff line change @@ -1144,14 +1144,18 @@ impl Build {
1144
1144
} ;
1145
1145
1146
1146
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
+ } ;
1148
1152
let msg = if let Some ( target) = target. into ( ) {
1149
1153
let build_stage = host_and_stage. stage ;
1150
1154
let host = host_and_stage. host ;
1151
1155
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})" ) )
1153
1157
} 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})" ) )
1155
1159
}
1156
1160
} else {
1157
1161
msg ( format_args ! ( "" ) )
You can’t perform that action at this time.
0 commit comments