From eb7670b7283d1e02bf8fef035d082eeafc87229c Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 2 Dec 2024 11:01:31 -0600 Subject: [PATCH] style: Make clippy happy --- src/assert.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {