diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-10-12 23:51:35 +0200 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2020-10-14 06:26:47 +0200 |
| commit | fcec76bde4026afcb47ef814aeccfd8cc1f1b28f (patch) | |
| tree | 88796e76eaf36f9c7ee1da0e44dbd3426c8d58b5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 4ba5068815137eef403383582d3f17f3b6802217 (diff) | |
| download | rust-fcec76bde4026afcb47ef814aeccfd8cc1f1b28f.tar.gz rust-fcec76bde4026afcb47ef814aeccfd8cc1f1b28f.zip | |
Simplify a nested bool match
Logically this first eliminates the innermost match by merging the patterns. Then, in a second step, turns the newly innermost match into a `matches!` call.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
