diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-28 15:30:05 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-28 15:30:05 +0530 |
| commit | ff223ff29799eaf99635ad0a07547f572a7136d7 (patch) | |
| tree | 5d02e2f68c5b127f4e752a07e5ad23a211727939 /compiler/rustc_codegen_llvm/src/allocator.rs | |
| parent | 400f435c2ddb2139ab967b375bc1fd0a06f1aa46 (diff) | |
| parent | 6587dda39e9b49b322394592e45a477da68c7f1a (diff) | |
| download | rust-ff223ff29799eaf99635ad0a07547f572a7136d7.tar.gz rust-ff223ff29799eaf99635ad0a07547f572a7136d7.zip | |
Rollup merge of #98430 - camsteffen:flatten-refactor, r=joshtriplett
Refactor iter adapters with less macros Just some code cleanup. Introduced a util `and_then_or_clear` for each of chain, flatten and fuse iter adapter impls. This reduces code nicely for flatten, but admittedly the other modules are more of a lateral move replacing macros with a function. But I think consistency across the modules and avoiding macros when possible is good.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions
