-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Utilize if..let
instead of single match
branch
#31820
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
Comments
There are |
Clippy's |
or maybe this would help ag "match.+\n\s+Some.+\n\s+(None|_) => (\(\)|\{\})" |
can I pick this up? |
@dileepbapat Go for it! Let us know if you need any help |
@frewsxcv let me know if this is ok |
@dileepbapat Looks good, nice job! Your changes are waiting in a queue to be merged: |
I have made changes and built it after that. Please advise, rust-lang#31820
This can be closed now. |
Thanks again @dileepbapat! |
I have made changes and built it after that. Please advise, rust-lang/rust#31820
rust/src/librustc_trans/trans/type_of.rs
Lines 320 to 323 in 98a59cf
More info: https://doc.rust-lang.org/book/if-let.html
The text was updated successfully, but these errors were encountered: