diff --git a/src/main.rs b/src/main.rs index c627e9d..e63c625 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,10 +35,7 @@ fn main() -> Result<()> { eprintln!("{}", msg) } }, - Err(ReadlineError::Interrupted) => { - break; - } - Err(ReadlineError::Eof) => { + Err(ReadlineError::Interrupted) | Err(ReadlineError::Eof) => { break; } Err(err) => {