Correct spelling of "occurred"
This commit is contained in:
parent
6c2d5cc84a
commit
4bda25c9f3
|
@ -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