diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2024-07-31 17:17:14 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2024-08-04 12:49:28 -0700 |
| commit | e452e3def69deca6a671b6067b1faf14b4cf83f2 (patch) | |
| tree | 13e4627fdc55dcb459b67636803254698aa3678f /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 4e348fa803723a38553138d9795cb2c6b7fb964a (diff) | |
| download | rust-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
