Skip to content

Commit b3caa25

Browse files
committed
Remove unused return value of tag parser
1 parent 042cf85 commit b3caa25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strnom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ macro_rules! not {
298298
macro_rules! tag {
299299
($i:expr, $tag:expr) => {
300300
if $i.starts_with($tag) {
301-
Ok(($i.advance($tag.len()), &$i.rest[..$tag.len()]))
301+
Ok(($i.advance($tag.len()), ()))
302302
} else {
303303
Err(LexError)
304304
}

0 commit comments

Comments
 (0)