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

Convert ok_or to ? once try_trait is implemented #5

Open
kilpatty opened this issue Jun 18, 2019 · 0 comments
Open

Convert ok_or to ? once try_trait is implemented #5

kilpatty opened this issue Jun 18, 2019 · 0 comments

Comments

@kilpatty
Copy link
Member

Rust currently does not allow the ? shorthand to be used on options for our errors to catch NoneError. Once this following RFC is merged in: rust-lang/rust#42327, we will be able to replace our ok_or statements w/ just a simple ?.

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

No branches or pull requests

1 participant