about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNathan West <Lucretiel@gmail.com>2020-01-06 17:06:19 -0500
committerdylan_DPC <dylan.dpc@gmail.com>2020-03-26 20:41:57 +0100
commit9b429fd1219bfd15ec3fd9ce3cb073cdae6ed03c (patch)
treed64258354118e4d5bb17d16e84658a02c7432713 /src/test/debuginfo/enum-thinlto.rs
parent2fbb07525e2f07a815e780a4268b11916248b5a9 (diff)
downloadrust-9b429fd1219bfd15ec3fd9ce3cb073cdae6ed03c.tar.gz
rust-9b429fd1219bfd15ec3fd9ce3cb073cdae6ed03c.zip
Add fold_self
- Added `Iterator::fold_first`, which is like `fold`, but uses the first element in the iterator as the initial accumulator
- Includes doc and doctest
- Rebase commit; see #65222 for details

Co-Authored-By: Tim Vermeulen <tvermeulen@me.com>
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions