diff --git a/src/assert.rs b/src/assert.rs index 684f582..4f16b40 100644 --- a/src/assert.rs +++ b/src/assert.rs @@ -345,7 +345,7 @@ impl IntoPathPredicate for String { } } -impl<'s> IntoPathPredicate for &'s str { +impl IntoPathPredicate for &str { type Predicate = StrContentPathPredicate; fn into_path(self) -> Self::Predicate { @@ -353,7 +353,7 @@ impl<'s> IntoPathPredicate for &'s str { } } -impl<'s> IntoPathPredicate for &'s String { +impl IntoPathPredicate for &String { type Predicate = StrContentPathPredicate; fn into_path(self) -> Self::Predicate {