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>2023-06-30 16:57:20 +0000
committerbors <bors@rust-lang.org>2023-06-30 16:57:20 +0000
commit76bcd9946ad2ecfa6c541d3d6eaee187f3b73a30 (patch)
treed6889b0a2ad29d0d6a4667e252db3f93b74e4b9a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent7a3991a544694011962bb181eb09b0b73a9f5192 (diff)
parent4e793e78590e0a3a6a5e4b07f501c88479bd2472 (diff)
downloadrust-76bcd9946ad2ecfa6c541d3d6eaee187f3b73a30.tar.gz
rust-76bcd9946ad2ecfa6c541d3d6eaee187f3b73a30.zip
Auto merge of #15169 - lowr:patch/impl-header-anon-lifetime, r=HKalbasi
Use anonymous lifetime where possible

Because anonymous lifetimes are *super* cool.

More seriously, I believe anonymous lifetimes, especially those in impl headers, reduce cognitive load to a certain extent because they usually signify that they are not relevant in the signature of the methods within (or that we can apply the usual lifetime elision rules even if they are relevant).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions