Correct spelling of "occurred"
This commit is contained in:
parent
2cb915dd24
commit
08b4fff20d
|
@ -46,7 +46,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!(
|
println!(
|
||||||
"Error `{:?}` occured at span: {:?} = `{:?}`",
|
"Error `{:?}` occurred at span: {:?} = `{:?}`",
|
||||||
e.kind,
|
e.kind,
|
||||||
e.position.clone(),
|
e.position.clone(),
|
||||||
source.slice(e.position)
|
source.slice(e.position)
|
||||||
|
|
|
@ -23,7 +23,7 @@ pub fn repl() {
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!(
|
println!(
|
||||||
"Error `{:?}` occured at span: {:?} = `{:?}`",
|
"Error `{:?}` occurred at span: {:?} = `{:?}`",
|
||||||
e.kind,
|
e.kind,
|
||||||
e.position.clone(),
|
e.position.clone(),
|
||||||
line.slice(e.position.clone())
|
line.slice(e.position.clone())
|
||||||
|
|
Loading…
Reference in a new issue