Jelte Fennema-Nio

Results 689 comments of Jelte Fennema-Nio

Sounds reasonable. I think it would fit well with the rest of our derives for static methods. PRs are welcome.

Maybe it's indeed time to revisit, what do you think @tyranron?

Makes sense to me. That's indeed a missing feature curretly afaict. PRs welcome.

I agree that this error is not very helpful and that we should improve it. It should be fairly simple. The code we use to derive From could simply track...

After reading it again, I do get this request now. I think it makes sense for FromStr to be able to map the original error type to another. I'd be...

With all the drama around serde doing this, i'm going to close this.

_going over old PRs_ > With all the above said, restricting the derive to single-field structs is definitely the safest option; that's all I need personally (I don't have any...

@vlovich I'm not sure that the proposal here would address that. But we do have a separate issue for specifically the usecase you're describing: #156

On one hand this seems like quite a niche derive, on the other if you have a big enough enum it's really annoying to have to do this by hand....

I'm not entirely sure when you would actually want this, but if you can give some useful example I'm definitely open to accepting PRs for this. Should be behind a...