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

Simplify a couple of pattern-matches #173

Merged
merged 2 commits into from
Feb 14, 2021
Merged

Conversation

huitseeker
Copy link
Contributor

.. when they have simpler, direct Result / Option equivalents.

Tool-aided by comby-rust

A few pattern-matches correspond directly to Option / Result combinators, which this uses.

Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust).
By folding them in the error case of their enclosing Result
Copy link
Contributor

@MindFlavor MindFlavor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thank you!

@MindFlavor MindFlavor merged commit adee5a8 into Azure:master Feb 14, 2021
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.

2 participants