about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-07-31 17:17:14 -0700
committerNoah Lev <camelidcamel@gmail.com>2024-08-04 12:49:28 -0700
commite452e3def69deca6a671b6067b1faf14b4cf83f2 (patch)
tree13e4627fdc55dcb459b67636803254698aa3678f /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent4e348fa803723a38553138d9795cb2c6b7fb964a (diff)
downloadrust-e452e3def69deca6a671b6067b1faf14b4cf83f2.tar.gz
rust-e452e3def69deca6a671b6067b1faf14b4cf83f2.zip
Use `match` instead of sequence of `if let`s
This is much more readable and idiomatic, and also may help performance
since `match`es usually use switches while `if`s may not.

I also fixed an incorrect comment.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions