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