Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ockajak committed Jul 14, 2024
1 parent 6ed9e37 commit d2dfecf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extensions/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ pub trait Sequence<Item> {
chunked(self, size, false)
}

// FIXME - fix the failing test case
/// Creates a new sequence by splitting this sequence into non-overlapping
/// subsequences according to specified separator predicate.
///
Expand Down Expand Up @@ -257,7 +256,7 @@ pub trait Sequence<Item> {
/// # let a = source.clone();
/// assert_eq!(a.chunked_exact(2), vec![vec![1, 2], vec![-1, 1]]);
/// # let a = source.clone();
/// // assert_eq!(a.chunked_exact(1), vec![vec![1], vec![2], vec![-1], vec![1], vec![2]]);
/// assert_eq!(a.chunked_exact(1), vec![vec![1], vec![2], vec![-1], vec![1], vec![2]]);
/// ```
#[inline]
fn chunked_exact(self, size: usize) -> Self::This<Self>
Expand Down

0 comments on commit d2dfecf

Please sign in to comment.