Tried out your parser and had problems getting it to compile somehow. So i first updated all of the dependencies and made the necessary code changes to get it to compile. Afterwards i adjusted tokens.chef to not raise a syntax error (see https://github.com/booleancoercion/rchef/issues/2).
After that i added (in a pretty hacky way i feel) handling to allow for trailing newlines.
Lastly, i addressed the two clippy warnings i got.
Tried out your parser and had problems getting it to compile somehow. So i first updated all of the dependencies and made the necessary code changes to get it to compile. Afterwards i adjusted
tokens.chef
to not raise a syntax error (see https://github.com/booleancoercion/rchef/issues/2).After that i added (in a pretty hacky way i feel) handling to allow for trailing newlines.
Lastly, i addressed the two clippy warnings i got.