Closed Dr-Emann closed 9 months ago
Could you expand on your use case?
Parser::parse
was initially intended to be a top-level parse function, used in isolation. For example, it implicitly captures the offset from where parse
started and it assumes that that is an absolute offset, allowing it to be used for line/column numbers.
Without extra context, I'm closing this. If there is a reason for us to re-evaluate, let us know!
Please complete the following tasks
rust version
rustc 1.74.1 (a28077b28 2023-12-04)
winnow version
0.5.26
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
Expected Behaviour
Parser::parse
should not assert when the partial stream is configured as completeAdditional Context
No response