-
I would like to get the parsed length to advance a |
Beta Was this translation helpful? Give feedback.
Answered by
epage
Sep 18, 2023
Replies: 1 comment
-
You should be able to do something like: let start = input.checkpoint();
let output = parser.parse_next(input)?;
let len = input.offset_from(start); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
inflation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to do something like: