Skip to content

Commit a5337d6

Browse files
committed
Use exhaustive match for assert
1 parent 7768eaa commit a5337d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ impl<'a> Builder<'a> {
576576
Kind::Test | Kind::Doc | Kind::Build | Kind::Bench | Kind::Dist | Kind::Install => {
577577
assert_eq!(this.top_stage, 2)
578578
}
579-
_ => {}
579+
Kind::Check | Kind::Clippy | Kind::Fix | Kind::Run | Kind::Format => {}
580580
}
581581
}
582582

0 commit comments

Comments
 (0)