Skip to content

Commit 4a7b8df

Browse files
committed
Fixed bad doc comment
1 parent c49a530 commit 4a7b8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/slice/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ impl<T, P> FusedIterator for SplitInclusiveMut<'_, T, P> where P: FnMut(&T) -> b
922922
/// let slice = [11, 22, 33, 0, 44, 55];
923923
/// let mut iter = slice.rsplit(|num| *num == 0);
924924
/// assert_eq!(iter.next(), Some(&[44, 55][..]));
925-
/// assert_eq!(iter.next(), Some(&[10, 22, 33][..]));
925+
/// assert_eq!(iter.next(), Some(&[11, 22, 33][..]));
926926
/// assert_eq!(iter.next(), None);
927927
/// ```
928928
///

0 commit comments

Comments
 (0)