From 08b4fff20d8dee0371cf7090efcba4d73b7a902d Mon Sep 17 00:00:00 2001 From: Alex Bethel Date: Sat, 5 Jun 2021 08:50:20 -0500 Subject: [PATCH] Correct spelling of "occurred" --- src/main.rs | 2 +- src/repl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())