Skip to content

Commit b75703e

Browse files
committed
Extend serde tests and added serde rules
1 parent bc2aeb5 commit b75703e

File tree

2 files changed

+296
-254
lines changed

2 files changed

+296
-254
lines changed

src/types/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ pub enum StateErrorKind {
4242
}
4343

4444
/// State error location. Useful to determine location of error
45-
#[derive(Debug, Clone)]
45+
#[derive(Debug, Clone, Eq, PartialEq)]
4646
#[cfg_attr(feature = "codec", derive(Serialize, Deserialize))]
4747
pub struct StateErrorLocation(pub CodeLocation);
4848

4949
/// State error result data representation
50-
#[derive(Debug, Clone)]
50+
#[derive(Debug, Clone, Eq, PartialEq)]
5151
#[cfg_attr(feature = "codec", derive(Serialize, Deserialize))]
5252
pub struct StateErrorResult {
5353
/// Kind of error

0 commit comments

Comments
 (0)