Skip to content

Intended way to check ErrorKind with value_t! #2453

Answered by pksunkara
dimo414 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, took me a bit of time to understand what you are asking for. All the approaches you wrote are idiomatic. But I agree, things can be improved to handle the optional cases better. Can you please create an issue for this?

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@dimo414
Comment options

@pksunkara
Comment options

@dimo414
Comment options

@pksunkara
Comment options

@dimo414
Comment options

Comment options

You must be logged in to vote
1 reply
@dimo414
Comment options

Answer selected by pksunkara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants