Skip to content

Commit

Permalink
Fix clippy lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Nov 2, 2023
1 parent da4b2d3 commit fdb9955
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -774,12 +774,10 @@ impl Reedline {
busy = false;
break;
}
} else if event::poll(Duration::from_millis(0))? {
busy = true;
} else {

Check warning on line 779 in src/engine.rs

View check run for this annotation

Codecov / codecov/patch

src/engine.rs#L772-L779

Added lines #L772 - L779 were not covered by tests
if event::poll(Duration::from_millis(0))? {
busy = true;
} else {
break;
}
break;
}
}

Expand Down

0 comments on commit fdb9955

Please sign in to comment.