@@ -70,7 +70,11 @@ impl fmt::Display for Toolchain {
7070 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
7171 match self . spec {
7272 ToolchainSpec :: Ci { ref commit, alt } => {
73- let alt_s = if alt { "-alt" . to_string ( ) } else { String :: new ( ) } ;
73+ let alt_s = if alt {
74+ "-alt" . to_string ( )
75+ } else {
76+ String :: new ( )
77+ } ;
7478 write ! ( f, "{}{}" , commit, alt_s)
7579 }
7680 ToolchainSpec :: Nightly { ref date } => write ! ( f, "nightly-{}" , date. format( YYYY_MM_DD ) ) ,
@@ -82,7 +86,11 @@ impl Toolchain {
8286 pub ( crate ) fn rustup_name ( & self ) -> String {
8387 match self . spec {
8488 ToolchainSpec :: Ci { ref commit, alt } => {
85- let alt_s = if alt { "-alt" . to_string ( ) } else { String :: new ( ) } ;
89+ let alt_s = if alt {
90+ "-alt" . to_string ( )
91+ } else {
92+ String :: new ( )
93+ } ;
8694 format ! ( "bisector-ci-{}{}-{}" , commit, alt_s, self . host)
8795 }
8896 // N.B. We need to call this with a nonstandard name so that rustup utilizes the
@@ -390,7 +398,11 @@ impl fmt::Display for ToolchainSpec {
390398 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
391399 match * self {
392400 ToolchainSpec :: Ci { ref commit, alt } => {
393- let alt_s = if alt { "-alt" . to_string ( ) } else { String :: new ( ) } ;
401+ let alt_s = if alt {
402+ "-alt" . to_string ( )
403+ } else {
404+ String :: new ( )
405+ } ;
394406 write ! ( f, "{}{}" , commit, alt_s)
395407 }
396408 ToolchainSpec :: Nightly { ref date } => write ! ( f, "nightly-{}" , date) ,
0 commit comments