lib/event: make next_event() pub(crate)

So other modules may use the internal error type
This commit is contained in:
Paul Stemmet 2022-04-16 13:22:36 +00:00
parent 28131d9ad4
commit 9b3caee7e4
Signed by: Paul Stemmet
GPG Key ID: EDEA539F594E7E75
1 changed files with 2 additions and 2 deletions

View File

@ -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