-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support of lifetimes in message struct #18
Comments
hello, this should work with d5b806a |
Hi Geal,
Why? Let's say I have:
then I need to implement Debug, Clone and PartialEq (Eq) for all of them, for every message struct. This is a lot of boilerplate. And then I still have the problem I can't do So that's why I've removed the derive. I haven't needed it so far. |
Hello,
I'd like to specify lifetimes for a message. Manually implementing them works fine, so this is something the parser could support. See this reference
how it looks if done manually:
this library
Thank you
The text was updated successfully, but these errors were encountered: