Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
justprosh committed Feb 26, 2024
1 parent 2b6cd02 commit 63e3b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/types/src/deal_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ impl Serialize for DealId {

impl PartialEq<&str> for DealId {
fn eq(&self, other: &&str) -> bool {
self.0 == DealId::normalize(*other)
self.0 == DealId::normalize(other)
}
}

impl PartialEq<&str> for &DealId {
fn eq(&self, other: &&str) -> bool {
self.0 == DealId::normalize(*other)
self.0 == DealId::normalize(other)
}
}

Expand Down

0 comments on commit 63e3b68

Please sign in to comment.