derive(Eq)
This commit is contained in:
parent
48dae94d85
commit
78a7da34c1
@ -1,5 +1,5 @@
|
|||||||
/// Result returned by [`Comparator::compare`].
|
/// Result returned by [`Comparator::compare`].
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum Comparison {
|
pub enum Comparison {
|
||||||
L,
|
L,
|
||||||
/// Compared values were equal.
|
/// Compared values were equal.
|
||||||
|
@ -8,7 +8,7 @@ impl<const N: usize> Serializable for [u8; N] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum ArrayParseError {
|
pub enum ArrayParseError {
|
||||||
Eof,
|
Eof,
|
||||||
ExtraData(usize),
|
ExtraData(usize),
|
||||||
|
@ -8,7 +8,7 @@ impl Serializable for u64 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum IntParseError {
|
pub enum IntParseError {
|
||||||
Eof,
|
Eof,
|
||||||
ExtraData(usize),
|
ExtraData(usize),
|
||||||
|
@ -11,7 +11,7 @@ impl Serializable for bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
pub enum BooleanParseError {
|
pub enum BooleanParseError {
|
||||||
OutOfBounds(u8),
|
OutOfBounds(u8),
|
||||||
Eof,
|
Eof,
|
||||||
|
Loading…
Reference in New Issue
Block a user