Skip to content

Commit

Permalink
lint (clippy): explicit auto deref
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-N-Chernyshov authored and Keats committed Dec 3, 2022
1 parent 9de03c0 commit b427bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.rs
Expand Up @@ -199,7 +199,7 @@ enum Issuer<'a> {
struct BorrowedCowIfPossible<'a>(#[serde(borrow)] Cow<'a, str>);
impl std::borrow::Borrow<str> for BorrowedCowIfPossible<'_> {
fn borrow(&self) -> &str {
&*self.0
&self.0
}
}

Expand Down

0 comments on commit b427bc1

Please sign in to comment.