Run clippy on CI

Fixes #1402.
This commit is contained in:
Kirill Chibisov
2022-06-10 13:43:33 +03:00
committed by GitHub
parent 57981b533d
commit 10419ff441
72 changed files with 377 additions and 312 deletions

View File

@@ -22,10 +22,7 @@ pub enum State {
impl State {
pub fn is_exit(&self) -> bool {
match self {
State::Exit => true,
_ => false,
}
matches!(self, State::Exit)
}
pub fn control_flow(&self) -> ControlFlow {