Use exhaustive match for assert

This commit is contained in:
Joshua Nelson 2020-07-27 21:53:10 -04:00
parent 7768eaa050
commit a5337d668c

View File

@ -576,7 +576,7 @@ pub fn new(build: &Build) -> Builder<'_> {
Kind::Test | Kind::Doc | Kind::Build | Kind::Bench | Kind::Dist | Kind::Install => {
assert_eq!(this.top_stage, 2)
}
_ => {}
Kind::Check | Kind::Clippy | Kind::Fix | Kind::Run | Kind::Format => {}
}
}