about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2020-10-12 23:51:35 +0200
committerLingMan <LingMan@users.noreply.github.com>2020-10-14 06:26:47 +0200
commitfcec76bde4026afcb47ef814aeccfd8cc1f1b28f (patch)
tree88796e76eaf36f9c7ee1da0e44dbd3426c8d58b5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4ba5068815137eef403383582d3f17f3b6802217 (diff)
downloadrust-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