about summary refs log tree commit diff
path: root/library/coretests/tests/iter
AgeCommit message (Collapse)AuthorLines
2025-09-30iter repeat: add tests for new count and last behaviorMarijn Schouten-0/+11
2025-09-04Rollup merge of #143725 - kennytm:peekable_next_if_map, r=jhprattStuart Cook-0/+86
core: add Peekable::next_if_map Implementation for rust-lang/rust#143702
2025-08-28implement Sum and Product for Saturating(u*)Jeremy Smart-0/+36
2025-07-19fix load-bearing typoRémy Rakic-1/+1
2025-07-10core: add Peekable::next_if_mapkennytm-0/+86
2025-06-05add comments to Zip unsoundness regression testThe 8472-2/+24
2025-06-05fix Zip unsoundness (again)The 8472-34/+66
Some history: The Zip TrustedRandomAccess specialization has tried to emulate the side-effects of the naive implementation for a long time, including backwards iteration. 82292¹ tried to fix unsoundness (82291¹) in that side-effect-preservation code, but this introduced some panic-safety unsoundness (86443¹), but the fix 86452¹ didn't fix it for nested Zip iterators (137255¹). Rather than piling yet another fix ontop of this heap of fixes this PR reduces the number of cases in which side-effects will be preserved; the necessary API guarantee change was approved in 83791¹ but we haven't made use of that so far. ¹ see merge commit for linkfied issues.
2025-04-19added test for Enumerate::next_index on empty iteratorJonathan Gruner-0/+10
2025-02-08Rustfmtbjorn3-5/+4
2025-01-26Put all coretests in a separate cratebjorn3-0/+5167