Skip to content

Commit eb7670b

Browse files
committed
style: Make clippy happy
1 parent c7d109d commit eb7670b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/assert.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -345,15 +345,15 @@ impl IntoPathPredicate<StrContentPathPredicate> for String {
345345
}
346346
}
347347

348-
impl<'s> IntoPathPredicate<StrContentPathPredicate> for &'s str {
348+
impl IntoPathPredicate<StrContentPathPredicate> for &str {
349349
type Predicate = StrContentPathPredicate;
350350

351351
fn into_path(self) -> Self::Predicate {
352352
Self::Predicate::new(self.to_owned())
353353
}
354354
}
355355

356-
impl<'s> IntoPathPredicate<StrContentPathPredicate> for &'s String {
356+
impl IntoPathPredicate<StrContentPathPredicate> for &String {
357357
type Predicate = StrContentPathPredicate;
358358

359359
fn into_path(self) -> Self::Predicate {

0 commit comments

Comments
 (0)