diff --git a/src/main.rs b/src/main.rs index 2cebb37b..6b7fd111 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn main() { } Err(e) => { println!( - "Error `{:?}` occured at span: {:?} = `{:?}`", + "Error `{:?}` occurred at span: {:?} = `{:?}`", e.kind, e.position.clone(), source.slice(e.position) diff --git a/src/repl.rs b/src/repl.rs index 00a9c894..36a065e3 100644 --- a/src/repl.rs +++ b/src/repl.rs @@ -23,7 +23,7 @@ pub fn repl() { } Err(e) => { println!( - "Error `{:?}` occured at span: {:?} = `{:?}`", + "Error `{:?}` occurred at span: {:?} = `{:?}`", e.kind, e.position.clone(), line.slice(e.position.clone())