From 258a65d4a20baa8bf6c9bf1e20e8005e7dae5a7b Mon Sep 17 00:00:00 2001 From: Tim Vermeulen Date: Sat, 20 Aug 2022 15:23:16 +0200 Subject: [PATCH] Fix generic bound of `SplitInclusive`'s `DoubleEndedIterator` impl --- library/core/src/str/iter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/str/iter.rs b/library/core/src/str/iter.rs index 24083ee6af44f..13734c04c8e05 100644 --- a/library/core/src/str/iter.rs +++ b/library/core/src/str/iter.rs @@ -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]