Skip to content

Commit

Permalink
Auto merge of #109091 - Nilstrieb:match-on-attr, r=cjgillot
Browse files Browse the repository at this point in the history
Cleanup `codegen_fn_attrs`

The `match` control flow construct has been stable since 1.0, we should use it here.

Sorry for the hard to review diff, I did try to at least split it into two commits. But looking at before-after side-by-side (instead of whatever github is doing) is probably the easiest way to make sure that I didn't forget about anything.

On top of #109088, you can wait for that
  • Loading branch information
bors committed Mar 27, 2023
2 parents 1d58207 + 1d70bd4 commit 7a06007
Showing 1 changed file with 326 additions and 293 deletions.
Loading

0 comments on commit 7a06007

Please sign in to comment.