Correct spelling of "occurred"
This commit is contained in:
parent
6c2d5cc84a
commit
4bda25c9f3
|
@ -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)
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue