about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2021-04-13 18:42:19 +0200
committerLingMan <LingMan@users.noreply.github.com>2021-04-13 18:42:19 +0200
commit28aed81f7d3c03aebfe23832593be9a1cb610257 (patch)
tree7c30460546f26c3bbe213e1c4773b7bd99bb8846 /compiler/rustc_codegen_llvm/src/attributes.rs
parent2e7eb85b1df5fce97e274569acf403c212aab517 (diff)
downloadrust-28aed81f7d3c03aebfe23832593be9a1cb610257.tar.gz
rust-28aed81f7d3c03aebfe23832593be9a1cb610257.zip
Avoid an `Option<Option<_>>`
By simply swapping the calls to `map` and `and_then` around the complexity of
handling an `Option<Option<_>>` disappears.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions