lib/event: make next_event() pub(crate)
So other modules may use the internal error type
This commit is contained in:
parent
28131d9ad4
commit
9b3caee7e4
|
@ -315,7 +315,7 @@ where
|
|||
}
|
||||
|
||||
/// Process the next event
|
||||
fn next_event(&mut self) -> ParseResult<Option<Event<'de>>>
|
||||
pub(crate) fn next_event(&mut self) -> ParseResult<Option<Event<'de>>>
|
||||
{
|
||||
self.inner
|
||||
.parser
|
||||
|
@ -357,7 +357,7 @@ where
|
|||
}
|
||||
|
||||
/// Process the next event
|
||||
fn next_event(&mut self) -> ParseResult<Option<Event<'de>>>
|
||||
pub(crate) fn next_event(&mut self) -> ParseResult<Option<Event<'de>>>
|
||||
{
|
||||
self.inner
|
||||
.parser
|
||||
|
|
Loading…
Reference in New Issue