Skip to content

Commit

Permalink
Fix generic bound of SplitInclusive's DoubleEndedIterator impl
Browse files Browse the repository at this point in the history
  • Loading branch information
timvermeulen committed Aug 20, 2022
1 parent 9b4ea39 commit 258a65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/str/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ impl<'a, P: Pattern<'a, Searcher: Clone>> Clone for SplitInclusive<'a, P> {
}

#[stable(feature = "split_inclusive", since = "1.51.0")]
impl<'a, P: Pattern<'a, Searcher: ReverseSearcher<'a>>> DoubleEndedIterator
impl<'a, P: Pattern<'a, Searcher: DoubleEndedSearcher<'a>>> DoubleEndedIterator
for SplitInclusive<'a, P>
{
#[inline]
Expand Down

0 comments on commit 258a65d

Please sign in to comment.