diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-04-06 00:53:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-06 00:53:45 +0200 |
| commit | 618ba73b3150ad19979aad96f20506953544122e (patch) | |
| tree | d53ce464b1cb1034fd6c41d5f6e1e5786d249780 /src/test/debuginfo/enum-thinlto.rs | |
| parent | aafbe07af3eb9b497c5c24db0a5c7253b2125bbf (diff) | |
| parent | 6fdd4f37b7eb68a4a44d97db70ee6b805255f0e6 (diff) | |
| download | rust-618ba73b3150ad19979aad96f20506953544122e.tar.gz rust-618ba73b3150ad19979aad96f20506953544122e.zip | |
Rollup merge of #70750 - cuviper:direct-fuse, r=scottmcm
Match options directly in the Fuse implementation Rather than using `as_ref()`, `as_mut()`, and `?`, we can use `match` directly to save a lot of generated code. This was mentioned as a possibility in https://github.com/rust-lang/rust/pull/70366#issuecomment-603462546, and I found that it had a very large impact on #70332 using `Fuse` within `Chain`. Let's evaluate this change on its own first.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
