Derive more traits for Error.
This commit is contained in:
parent
c31794f581
commit
7ba979a411
@ -48,7 +48,7 @@ lazy_static! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// An error encountered when trying to parse an invalid ID string.
|
/// An error encountered when trying to parse an invalid ID string.
|
||||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
/// The ID's localpart contains invalid characters.
|
/// The ID's localpart contains invalid characters.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user