From d2dfecf43b4b9bea2b3e11e997d380f2d9e02b33 Mon Sep 17 00:00:00 2001 From: Martin Ockajak Date: Sun, 14 Jul 2024 16:36:32 +0200 Subject: [PATCH] . --- src/extensions/sequence.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/extensions/sequence.rs b/src/extensions/sequence.rs index 9993ccc..2c226ca 100644 --- a/src/extensions/sequence.rs +++ b/src/extensions/sequence.rs @@ -169,7 +169,6 @@ pub trait Sequence { 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. /// @@ -257,7 +256,7 @@ pub trait Sequence { /// # 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