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

View file

@ -315,7 +315,7 @@ where
} }
/// Process the next event /// 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 self.inner
.parser .parser
@ -357,7 +357,7 @@ where
} }
/// Process the next event /// 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 self.inner
.parser .parser