Skip to content

Commit

Permalink
Fix even more clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
madadam committed Dec 11, 2024
1 parent 090ea16 commit 6799e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/crypto/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub trait Hashable {
}
}

impl<T> Hashable for &T
impl<T> Hashable for &'_ T
where
T: Hashable + ?Sized,
{
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version_vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl FromIterator<(PublicKey, u64)> for VersionVector {
}
}

impl Add for &VersionVector {
impl Add for &'_ VersionVector {
type Output = VersionVector;

fn add(self, other: Self) -> Self::Output {
Expand Down

0 comments on commit 6799e41

Please sign in to comment.