Implement Ord for ParseLengthError
This commit is contained in:
parent
55657cbffb
commit
a1e98a6796
|
@ -494,7 +494,7 @@ construct_uint!(Uint256, 4);
|
|||
construct_uint!(Uint128, 2);
|
||||
|
||||
/// Invalid slice length
|
||||
#[derive(Debug, PartialEq, Eq, PartialOrd, Clone, Copy, Hash)]
|
||||
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]
|
||||
/// Invalid slice length
|
||||
pub struct ParseLengthError {
|
||||
/// The length of the slice de-facto
|
||||
|
|
Loading…
Reference in New Issue