Remove _
prefix to used method.
This commit is contained in:
parent
3f10cf9e5d
commit
8da6ddef10
1 changed files with 3 additions and 3 deletions
|
@ -468,7 +468,7 @@ impl<T: Iterator<Item = char>> Parser<T> {
|
||||||
| TokenType::DocumentStart,
|
| TokenType::DocumentStart,
|
||||||
) => {
|
) => {
|
||||||
// explicit document
|
// explicit document
|
||||||
self._explicit_document_start()
|
self.explicit_document_start()
|
||||||
}
|
}
|
||||||
Token(mark, _) if implicit => {
|
Token(mark, _) if implicit => {
|
||||||
self.parser_process_directives()?;
|
self.parser_process_directives()?;
|
||||||
|
@ -478,7 +478,7 @@ impl<T: Iterator<Item = char>> Parser<T> {
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
// explicit document
|
// explicit document
|
||||||
self._explicit_document_start()
|
self.explicit_document_start()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -504,7 +504,7 @@ impl<T: Iterator<Item = char>> Parser<T> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn _explicit_document_start(&mut self) -> ParseResult {
|
fn explicit_document_start(&mut self) -> ParseResult {
|
||||||
self.parser_process_directives()?;
|
self.parser_process_directives()?;
|
||||||
match *self.peek_token()? {
|
match *self.peek_token()? {
|
||||||
Token(mark, TokenType::DocumentStart) => {
|
Token(mark, TokenType::DocumentStart) => {
|
||||||
|
|
Loading…
Reference in a new issue