Use exhaustive match for assert

This commit is contained in:
Joshua Nelson 2020-07-27 21:53:10 -04:00
parent 7768eaa050
commit a5337d668c
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ impl<'a> Builder<'a> {
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 => {}
}
}