diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2021-04-13 18:42:19 +0200 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2021-04-13 18:42:19 +0200 |
| commit | 28aed81f7d3c03aebfe23832593be9a1cb610257 (patch) | |
| tree | 7c30460546f26c3bbe213e1c4773b7bd99bb8846 /compiler/rustc_codegen_llvm/src/attributes.rs | |
| parent | 2e7eb85b1df5fce97e274569acf403c212aab517 (diff) | |
| download | rust-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
