Correct spelling of "occurred"

This commit is contained in:
Alex Bethel 2021-06-05 08:50:20 -05:00
parent 6c2d5cc84a
commit 4bda25c9f3
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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())