From 4bda25c9f351f18f18f7406427e62159a1e0e8e7 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 2cebb37..6b7fd11 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 00a9c89..36a065e 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())