Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conversion from Infallible to ConversionError #356

Merged
merged 1 commit into from
Aug 22, 2022
Merged

Conversation

leighmcculloch
Copy link
Member

What

Add conversion from Infallible to ConversionError.

Why

So that in contexts where an Infallible error can sometimes get returned we can still use ?.

Known limitations

One day this might be unnecessary if rust-lang/rust#64715 happens.

@leighmcculloch leighmcculloch requested a review from a team as a code owner August 22, 2022 14:54
@leighmcculloch leighmcculloch enabled auto-merge (squash) August 22, 2022 14:54
@leighmcculloch leighmcculloch merged commit 4c288ce into main Aug 22, 2022
@leighmcculloch leighmcculloch deleted the infallible branch August 22, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant