-
Notifications
You must be signed in to change notification settings - Fork 161
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
refactor: exact instances of some Option/Result/other combinators #466
Conversation
d1b925e
to
a92387b
Compare
Thanks for the PR, could you explain the reasoning behind this? |
@dignifiedquire the intentional commit of this PR is the first, the other one being a standard run of clippy auto-fixes. The idea is to simplify the code from verbose pattern-matches to idiomatic standard library combinators they are an exact reimplementation of. My opinions on this are loosely held - if you're not convinced of those idioms being simpler, in part or as a group, I'm happy to amend the PR to your desires, or close it altogether. |
0db3267
to
10fbc4e
Compare
Thanks for the review @matthiasbeyer! This makes total sense, I'll also amend the tooling with your comments! |
thanks @huitseeker! |
Tool-aided by comby-rust.