Skip to content

Commit ce4e841

Browse files
committed
docs
1 parent 0f8c5ca commit ce4e841

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
* **`1.3.5`**
2-
* Add `subtle`, `arbitrary`, and `bytemuck` implementations for `GenericArray` when the inner type supports them.
3-
* Add `FallibleGenericSequence` with `try_generate` for fallible generation of sequences/arrays.
4-
* Add `try_fold` to `FunctionalSequence` for fallible folding of sequences/arrays.
1+
* **`1.3.5` (unreleased)**
2+
* Add `subtle`, `arbitrary`, `bytemuck`, and `as-slice` implementations for `GenericArray`.
3+
* Add `GenericSequence::repeat` for creating sequences/arrays with repeated elements.
4+
* Add `FallibleGenericSequence` with `try_generate` and `from_fallible_iter` for fallible generation of sequences/arrays.
5+
* Add `try_fold` and `try_map` to `FunctionalSequence` for fallible folding/mapping of sequences/arrays.
6+
* Add `try_from_fallible_iter` to `GenericArray` for fallible construction from fallible iterators.
7+
* Add `each_ref`/`each_mut` methods to `GenericArray` for creating arrays of references to the elements.
58

69
* **`1.3.4`**
710
* Significantly improve stack usage of `GenericArray` methods in unoptimized (`-C opt-level=0`) build modes.

src/functional.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ where
3333
pub type Mapped<S, T, U> = <S as MappedGenericSequence<T, U>>::Mapped;
3434

3535
/// Accessor type for a mapped generic sequence
36+
///
37+
/// NOTE: The choice to use the `Sequence` associated type here instead of `Mapped`
38+
/// is due to only the `Sequence` type being guaranteed to implement `FromIterator`.
39+
/// However, this does lead to some oddity where `FallibleGenericSequence::from_fallible_iter`
40+
/// is implemented on `Mapped`, but returns the `Sequence`/`MappedSequence` type. Same difference, though.
3641
pub type MappedSequence<S, T, U> = <Mapped<S, T, U> as GenericSequence<U>>::Sequence;
3742

3843
/// Defines functional programming methods for generic sequences

0 commit comments

Comments
 (0)