-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should function combinators return a FnMut
?
#898
Comments
If I’m not mistaken, But maybe I’m making a mistake somewhere, I’m no expert on Rust’s type system. |
for |
all nom parsers are now |
I was upgrading a parser from 4.0 to 5.0 and ran into an issue with Is it worth polluting the |
some combinators return a
impl FnMut(I) -> IResult<I,O,E>
because a test was failing intests/reborrow_fold.rs
, but I'm not sure allowing mutability there is such a good idea. If people want to mutate data from inside a parser, using aCell
might be a better solution.The text was updated successfully, but these errors were encountered: