Open axelkar opened 7 months ago
Oh and Option
I worry about the number of combinations we'd be dealing with and how that would affect users in different ways (reading docs, compile times, etc).
Is there a reason to not use repeat().fold()
instead?
I didn't even think of making a Vec in fold. Thanks! After that this issue doesn't concern me nearly as much, but it's still manual.
Please complete the following tasks
winnow version
0.6.2
Describe your use case
Here, let me show you:
Describe the solution you'd like
Alternatives, if applicable
maybe you could instead use
impl Into<[T; N]>
: https://doc.rust-lang.org/std/primitive.tuple.html#impl-From%3C(T,)%3E-for-%5BT;+1%5DAdditional Context
No response