Skip to content

Commit

Permalink
Merge #50: fix: fix clippy warnings
Browse files Browse the repository at this point in the history
07a8444 fix: fix clippy warnings (Dimitris Apostolou)

Pull request description:

ACKs for top commit:
  tcharding:
    ACK 07a8444
  apoelstra:
    ACK 07a8444; successfully ran local tests

Tree-SHA512: dd2d6e0b5baf03f03b07d1bf9e36dff7efd2f1abab22c8909685e57e40a9d807b8954fe3db962a018fa8ad9a8d61069f870a9f1aca948e672ef1ab8edc568aba
  • Loading branch information
apoelstra committed Jan 28, 2025
2 parents b62e8c8 + 07a8444 commit 8cd96b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsonrpc/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ impl<T: Transport> From<T> for Client {
#[derive(Clone, PartialEq, Debug)]
struct HashableValue<'a>(pub Cow<'a, Value>);

impl<'a> Eq for HashableValue<'a> {}
impl Eq for HashableValue<'_> {}

impl<'a> Hash for HashableValue<'a> {
impl Hash for HashableValue<'_> {
fn hash<H: Hasher>(&self, state: &mut H) {
match *self.0.as_ref() {
Value::Null => "null".hash(state),
Expand Down

0 comments on commit 8cd96b0

Please sign in to comment.