diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-27 15:09:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-27 15:09:48 +0100 |
| commit | 87fdf35572089028dff6bf4eb620c2f99764c1e0 (patch) | |
| tree | 4cf31fd8ec3af094dbe8fa2ab968f26f56928da1 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 697d6b3f3fa1f163acb5ae0911d7df7f02a54444 (diff) | |
| parent | 268408f495f5fe225269842837ec1e49b498c881 (diff) | |
| download | rust-87fdf35572089028dff6bf4eb620c2f99764c1e0.tar.gz rust-87fdf35572089028dff6bf4eb620c2f99764c1e0.zip | |
Rollup merge of #65222 - Lucretiel:fold_self, r=kodrAus
Proposal: `fold_self` and `try_fold_self` for Iterators This pull request proposes & implements two new methods on Iterators: `fold_self` and `try_fold_self`. These are variants of `fold` and `try_fold` that use the first element in the iterator as the initial accumulator. Let me know if a public feature like this requires an RFC, or if this pull request is sufficient as place for discussion.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
