m4rw3r / chomp

A fast monadic-style parser combinator designed to work on stable Rust.
Apache License 2.0
244 stars 19 forks source link

Do not reset the slice pointer when whole input is consumed #70

Open koute opened 6 years ago

koute commented 6 years ago

This property is useful e.g. when calculating how many bytes of a buffer were consumed without actually explicitly keeping track of it.