Use exhaustive match for assert
This commit is contained in:
parent
7768eaa050
commit
a5337d668c
1 changed files with 1 additions and 1 deletions
|
@ -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 => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue