about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-01 21:18:45 +0000
committerbors <bors@rust-lang.org>2022-02-01 21:18:45 +0000
commitcf53710744e2a4868f4c6015ea7be15cd8087a45 (patch)
treeeec45b588dbd758e84e21ed3c296c66d7662e8ce /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent327768cfb0d183e7178c060e7fd2789582ff7241 (diff)
parente7922f745dd617dbdef1f1c57d635b42e316cd92 (diff)
downloadrust-cf53710744e2a4868f4c6015ea7be15cd8087a45.tar.gz
rust-cf53710744e2a4868f4c6015ea7be15cd8087a45.zip
Auto merge of #8370 - smoelius:master, r=flip1995
Format `if_chain` invocations in clippy_utils

Not realizing it was [already obsolete](https://github.com/rust-lang/rust-clippy/pull/8360), I built a [tool to format inside `if_chain` invocations](https://crates.io/crates/rustfmt_if_chain).

This PR applies the tool to clippy_utils. (If you apply it to clippy_lints, the changes are extensive.)

Anyway, I'm making it known here in case anyone wants to use it while `if-let` chain support is developed for `rustfmt`. (There could be a few Clippy PRs between now and then, and IMHO, the code looks better with the `if_chain` invocations formatted.)

Cheers.

---

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions