about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-23 06:55:30 +0200
committerGitHub <noreply@github.com>2022-08-23 06:55:30 +0200
commit234e0f27c22eb3ab21363574c755f3f5bc0d6795 (patch)
tree654cbec591313c0a6a65e36a7577626c2f5b9a7c /src/test/rustdoc-ui/coverage/json.rs
parent8332f6559b815f6b0ee325be689f8c732c07de17 (diff)
parentb562f9596373881caa704e6046b2e168dd4a4eed (diff)
downloadrust-234e0f27c22eb3ab21363574c755f3f5bc0d6795.tar.gz
rust-234e0f27c22eb3ab21363574c755f3f5bc0d6795.zip
Rollup merge of #100887 - eholk:codegen_call_terminator-cleanup, r=fee1-dead
Refactor part of codegen_call_terminator

I was reading through this code and found the chain of `if let` and a nested match on the same value that was matched in the `if let` to be kind of hard to follow. This PR cleans it up by flattening the `if let` chain and nested match into a single `match` expression.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions