Skip to content

Commit

Permalink
Fixed bad doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer3035 committed Jul 12, 2024
1 parent c49a530 commit 4a7b8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/slice/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ impl<T, P> FusedIterator for SplitInclusiveMut<'_, T, P> where P: FnMut(&T) -> b
/// let slice = [11, 22, 33, 0, 44, 55];
/// let mut iter = slice.rsplit(|num| *num == 0);
/// assert_eq!(iter.next(), Some(&[44, 55][..]));
/// assert_eq!(iter.next(), Some(&[10, 22, 33][..]));
/// assert_eq!(iter.next(), Some(&[11, 22, 33][..]));
/// assert_eq!(iter.next(), None);
/// ```
///
Expand Down

0 comments on commit 4a7b8df

Please sign in to comment.