| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-26 | Put all coretests in a separate crate | bjorn3 | -912/+0 | |
| 2024-12-26 | Impl FromIterator for tuples with arity 1-12 | Sebastian Hahn | -0/+12 | |
| 2024-12-06 | Rollup merge of #132187 - shahn:extend_more_tuples, r=dtolnay | Matthias Krüger | -0/+13 | |
| Add Extend impls for tuples of arity 1 through 12 | ||||
| 2024-11-21 | distinguish overflow and unimplemented in Step::steps_between | michirakara | -12/+23 | |
| 2024-10-31 | Add a `collect_into` tuple test case | Sebastian Hahn | -0/+13 | |
| 2024-02-15 | Replace `NonZero::<_>::new` with `NonZero::new`. | Markus Reiter | -23/+8 | |
| 2024-02-15 | Use generic `NonZero` internally. | Markus Reiter | -9/+18 | |
| 2024-01-21 | Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-Simulacrum | Nadrieril | -2/+1 | |
| Use `bool` instead of `PartiolOrd` as return value of the comparison closure in `{slice,Iteraotr}::is_sorted_by` Changes the function signature of the closure given to `{slice,Iteraotr}::is_sorted_by` to return a `bool` instead of a `PartiolOrd` as suggested by the libs-api team here: https://github.com/rust-lang/rust/issues/53485#issuecomment-1766411980. This means these functions now return true if the closure returns true for all the pairs of values. | ||||
| 2024-01-20 | Use bool instead of PartiolOrd in is_sorted_by | EbbDrop | -2/+1 | |
| 2024-01-11 | apply fmt | klensy | -2/+8 | |
| 2023-06-16 | Add more comprehensive tests for is_sorted and friends | +merlan #flirora | -1/+30 | |
| See #53485 and #55045. | ||||
| 2023-03-27 | replace advance_by returning usize with Result<(), NonZeroUsize> | The 8472 | -16/+18 | |
| 2023-03-27 | Change advance(_back)_by to return `usize` instead of `Result<(), usize>` | The 8472 | -16/+16 | |
| A successful advance is now signalled by returning `0` and other values now represent the remaining number of steps that couldn't be advanced as opposed to the amount of steps that have been advanced during a partial advance_by. This simplifies adapters a bit, replacing some `match`/`if` with arithmetic. Whether this is beneficial overall depends on whether `advance_by` is mostly used as a building-block for other iterator methods and adapters or whether we also see uses by users where `Result` might be more useful. | ||||
| 2023-02-04 | Allow canonicalizing the `array::map` loop in trusted cases | Scott McMurray | -0/+3 | |
| 2022-06-21 | Add `Iterator::next_chunk` | Ross MacArthur | -0/+9 | |
| 2022-05-29 | Use Box::new() instead of box syntax in core tests | est31 | -1/+2 | |
| 2022-03-10 | Let `try_collect` take advantage of `try_fold` overrides | Scott McMurray | -0/+24 | |
| Without this change it's going through `&mut impl Iterator`, which handles `?Sized` and thus currently can't forward generics. Here's the test added, to see that it fails before this PR (once a new enough nightly is out): https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=462f2896f2fed2c238ee63ca1a7e7c56 | ||||
| 2022-02-20 | Add collect_into | fren_gor | -0/+8 | |
| 2022-02-16 | Add a `try_collect()` helper method to `Iterator` | Arthur Lafrance | -0/+46 | |
| Tweaked `try_collect()` to accept more `Try` types Updated feature attribute for tracking issue | ||||
| 2022-02-02 | add tests | tamaron | -0/+8 | |
| 2022-01-09 | eplace usages of vec![].into_iter with [].into_iter | Lucas Kent | -5/+5 | |
| 2021-12-04 | Add a `try_reduce` method to the Iterator trait | kit | -0/+28 | |
| 2021-01-22 | library/core/tests/iter documentation and cleanup | Daniel Conley | -7/+20 | |
| 2021-01-22 | library/core/tests/iter rearrange & add back missed doc comments | Daniel Conley | -212/+156 | |
| 2021-01-22 | library/core/test/iter add newlines between tests | Daniel Conley | -0/+47 | |
| 2021-01-21 | library/core/test/iter.rs split attempt 2 | Daniel Conley | -0/+715 | |
