about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-17 18:18:18 +0200
committerGitHub <noreply@github.com>2024-08-17 18:18:18 +0200
commit9c910ae7ee6207d6b190e5543eecdba5b4c15273 (patch)
tree5c8d05eaf100763f3008b180363b65ce10d40c62 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parentcfeded47a4e54ee95f5fd52f70d3282989b0cc02 (diff)
parent29017e45a1c85afe457765a5d4c77e4fcdebb4f6 (diff)
downloadrust-9c910ae7ee6207d6b190e5543eecdba5b4c15273.tar.gz
rust-9c910ae7ee6207d6b190e5543eecdba5b4c15273.zip
Rollup merge of #129167 - cuviper:either-once-empty, r=Nadrieril
mir/pretty: use `Option` instead of `Either<Once, Empty>`

`Either` is wasteful for a one-or-none iterator, especially since `Once`
is already an `option::IntoIter` internally. We don't really need any of
the iterator mechanisms in this case, just a single conditional insert.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions