1
Fork 0

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 @@ impl<'a> Builder<'a> {
Kind::Test | Kind::Doc | Kind::Build | Kind::Bench | Kind::Dist | Kind::Install => { Kind::Test | Kind::Doc | Kind::Build | Kind::Bench | Kind::Dist | Kind::Install => {
assert_eq!(this.top_stage, 2) assert_eq!(this.top_stage, 2)
} }
_ => {} Kind::Check | Kind::Clippy | Kind::Fix | Kind::Run | Kind::Format => {}
} }
} }