Closed honsunrise closed 2 years ago
Hi,
Thank you for the PR. Before merging, do you have some context on why this would be necessary?
It seems to me that the lifetime of the parsed object has a lifetime that can be different from the input (for ex when returning an allocated object like String
, whose lifetime can be longer than the input).
You are right, this is not necessary. I encountered this problem because of a bug in rustc, it can't correct inferred the lifetime
Add missing lifetime parameter for
ParseResult