diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-28 03:01:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-28 03:01:48 +0200 |
| commit | 8f9b8c19de66ffc706a46c41a958e3358adf1ad4 (patch) | |
| tree | 554fb5d717fc67f53a4326d969702bd4d977e410 /src/libsyntax/parse/parser/expr.rs | |
| parent | ca0cd73f498449de4aaf6ff9bd620838e21e9b59 (diff) | |
| parent | 3334802c83070d63b85b5b2e5508c15bfaf6e254 (diff) | |
| download | rust-8f9b8c19de66ffc706a46c41a958e3358adf1ad4.tar.gz rust-8f9b8c19de66ffc706a46c41a958e3358adf1ad4.zip | |
Rollup merge of #62883 - Stargateur:refactoring-adapters, r=scottmcm
Refactoring use common code between option, result and accum `Option` and `Result` have almost exactly the same code that in `accum.rs` that implement `Sum` and `Product`. This PR just move some code to use the same code for all of them. I believe is better to not implement this `Iterator` feature twice. I'm not very familiar with pub visibility hope I didn't make then public. However, maybe these adapters could be useful and we could think to make then pub. #59605 #11084 r? @pnkfelix
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
