pub trait UsableDoubleEndedPattern<'a>where
Self: Pattern<'a, Searcher = Self::Searcher>,{
type Searcher: DoubleEndedSearcher<'a>;
}
Available on crate feature
nightly
only.Expand description
Hack trait needed to avoid lifetime issues when using Pattern
and DoubleEndedSearcher
as
bounds directly. Used by StringExtensions::trim_matches_in_place
.