Skip to content

Commit

Permalink
chore: correct doc typo (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Jan 15, 2024
1 parent 19bed90 commit 87de288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/json-rpc/src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl<Payload, ErrData> ResponsePacket<Payload, ErrData> {
}
}

/// Returns `true` if the response payload is a success.
/// Returns `true` if the response payload is an error.
///
/// For batch responses, this returns `true` there's at least one error response.
pub fn is_error(&self) -> bool {
Expand Down

0 comments on commit 87de288

Please sign in to comment.