Skip to content

Commit ffb5f18

Browse files
committed
simplify a match
1 parent c4a654d commit ffb5f18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/bootstrap/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,7 @@ impl Build {
540540
Mode::Rustc => "-rustc",
541541
Mode::Codegen => "-codegen",
542542
Mode::ToolBootstrap => "-bootstrap-tools",
543-
Mode::ToolStd => "-tools",
544-
Mode::ToolTest => "-tools",
545-
Mode::ToolRustc => "-tools",
543+
Mode::ToolStd | Mode::ToolTest | Mode::ToolRustc => "-tools",
546544
};
547545
self.out.join(&*compiler.host)
548546
.join(format!("stage{}{}", compiler.stage, suffix))

0 commit comments

Comments
 (0)