Closed milesgranger closed 6 years ago
I mean, the type signature says it either returns a single value or nothing, so it sounds like this is expected to me?
I don't have a problem adding another function that returns all possible modes, but I think the existing type signature, name and behavior is expected, yes.
Indeed it does as the signature promised..I'm sorry, I didn't mean functionally expected behavior, but, I guess logically expected...(for lack of better name).
No hurry on adding that functionality; I really appreciate all your work in the Rust area. Makes it a bit more accessible for noobies like me. :)
No problem! PRs are welcome for this. I don't know when I'll add it.
I'll take a stab at it.
Is this expected behavior?
Seems to me it should return a
Vec<T>
rather thanT