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
|
/// 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
|
||||||
|
|
Loading…
Reference in a new issue