Clean up error display

master
Nick Krichevsky 2024-05-16 13:03:24 -04:00
parent 4c49512624
commit 1bcf145f93
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ fn run_prompt() -> anyhow::Result<()> {
let line = line_res.with_context(|| "failed to read input line")?;
let run_res = jlox_rust::run(&line);
if let Err(err) = run_res {
eprintln!("{err:?}");
eprintln!("{err}");
}
print_prompt()?;