diff --git a/src/main.rs b/src/main.rs index 6d5a04f..f4fcbe1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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()?;