Skip to content

Commit 9fa0e95

Browse files
committed
Make Parser::peek_tag public
Signed-off-by: Facundo Tuesca <facundo.tuesca@trailofbits.com>
1 parent 0dc1d62 commit 9fa0e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ impl<'a> Parser<'a> {
231231
Parser::new(self.data)
232232
}
233233

234-
pub(crate) fn peek_tag(&mut self) -> Option<Tag> {
234+
pub fn peek_tag(&mut self) -> Option<Tag> {
235235
let (tag, _) = Tag::from_bytes(self.data).ok()?;
236236
Some(tag)
237237
}

0 commit comments

Comments
 (0)