You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Utilize if..let instead of single match branch #31820
Activity
eddyb commentedon Feb 22, 2016
There are
matches like this all over the place. I just replaced some of the ones intransin a branch I'm working on atm.durka commentedon Feb 22, 2016
Clippy's
single_matchlint should help finding them.nxnfufunezn commentedon Feb 22, 2016
or maybe this would help
ag "match.+\n\s+Some.+\n\s+(None|_) => (\(\)|\{\})"dileepbapat commentedon Feb 23, 2016
can I pick this up?
rust-lang#31820 - Utilize `if..let` instead of single `match` branch
frewsxcv commentedon Feb 23, 2016
@dileepbapat Go for it! Let us know if you need any help
dileepbapat commentedon Feb 24, 2016
@frewsxcv let me know if this is ok
frewsxcv commentedon Feb 24, 2016
@dileepbapat Looks good, nice job! Your changes are waiting in a queue to be merged:
http://buildbot.rust-lang.org/homu/queue/rust
Rollup merge of rust-lang#31842 - dileepbapat:master, r=alexcrichton
durka commentedon Feb 25, 2016
This can be closed now.
frewsxcv commentedon Feb 25, 2016
Thanks again @dileepbapat!
Rollup merge of #31842 - dileepbapat:master, r=alexcrichton