Skip to content

Commit

Permalink
Merge pull request #11 from j4r0u53k/rpc-error-code-derive-eq
Browse files Browse the repository at this point in the history
Derive PartialEq and Eq for RpcErrorCode
  • Loading branch information
fvacek authored Mar 10, 2024
2 parents a9dcf09 + 26e1e82 commit 8ee55a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpcmessage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl RpcMessageMetaTags for MetaMap {
}
}

#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum RpcErrorCode {
NoError = 0,
InvalidRequest, // The data sent is not a valid Request object.
Expand Down

0 comments on commit 8ee55a1

Please sign in to comment.