Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
lint: unnecessary ref
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Feb 17, 2023
1 parent 8d1037b commit e56a8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-providers/src/rpc/transports/ws.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ impl crate::RpcError for ClientError {

fn as_serde_error(&self) -> Option<&serde_json::Error> {
match self {
ClientError::JsonError(err) => Some(&err),
ClientError::JsonError(err) => Some(err),
_ => None,
}
}
Expand Down

0 comments on commit e56a8af

Please sign in to comment.