Skip to content

Commit

Permalink
style: Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 2, 2024
1 parent c7d109d commit eb7670b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,15 +345,15 @@ impl IntoPathPredicate<StrContentPathPredicate> for String {
}
}

impl<'s> IntoPathPredicate<StrContentPathPredicate> for &'s str {
impl IntoPathPredicate<StrContentPathPredicate> for &str {
type Predicate = StrContentPathPredicate;

fn into_path(self) -> Self::Predicate {
Self::Predicate::new(self.to_owned())
}
}

impl<'s> IntoPathPredicate<StrContentPathPredicate> for &'s String {
impl IntoPathPredicate<StrContentPathPredicate> for &String {
type Predicate = StrContentPathPredicate;

fn into_path(self) -> Self::Predicate {
Expand Down

0 comments on commit eb7670b

Please sign in to comment.