Correct spelling of "occurred"
This commit is contained in:
parent
2cb915dd24
commit
08b4fff20d
|
@ -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