Lowercase the recursion limit error message
To be consistent with the other errors in this crate.
This commit is contained in:
parent
66326f23f5
commit
31a54ded85
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,7 @@ impl<T: Iterator<Item = char>> Scanner<T> {
|
||||||
self.flow_level = self
|
self.flow_level = self
|
||||||
.flow_level
|
.flow_level
|
||||||
.checked_add(1)
|
.checked_add(1)
|
||||||
.ok_or_else(|| ScanError::new(self.mark, "Recursion limit exceeded"))?;
|
.ok_or_else(|| ScanError::new(self.mark, "recursion limit exceeded"))?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
fn decrease_flow_level(&mut self) {
|
fn decrease_flow_level(&mut self) {
|
||||||
|
|
Loading…
Reference in a new issue