Skip to content

Commit 1f4af2f

Browse files
committed
fix: remove needless return statements for Clippy
1 parent e68b793 commit 1f4af2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/cortex-tui/src/runner/event_loop

src/cortex-tui/src/runner/event_loop/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,11 @@ impl EventLoop {
401401
// Priority 6: Double-tap ESC to quit when idle
402402
if self.app_state.handle_esc() {
403403
self.app_state.set_quit();
404-
return Ok(());
404+
Ok(())
405405
} else {
406406
self.app_state.toasts.info("Press ESC again to quit");
407407
self.render(terminal)?;
408-
return Ok(());
408+
Ok(())
409409
}
410410
}
411411

0 commit comments

Comments
 (0)