about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-08-14 21:20:06 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-08-16 03:03:53 +0200
commita8b52bacfec3097f88b63011dc7cae4104f17ee1 (patch)
tree5e8e83d5b64356a829c315c88440b8853f7ad0ec /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent9563a5ce46a55652af8fe470de68c97a0feb22d2 (diff)
downloadrust-a8b52bacfec3097f88b63011dc7cae4104f17ee1.tar.gz
rust-a8b52bacfec3097f88b63011dc7cae4104f17ee1.zip
clean-up `unnecessary_unwrap` a bit
replace multiple `if-let`s with `match`

turn the condition into a match guard

allows removing the `else` branch

replace `Vec::append` with `extend`

don't need the second vec after this operation anyway

remove `return`s
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions