Derive more traits for Error.

This commit is contained in:
Jimmy Cuadra 2018-05-24 04:04:19 -07:00
parent c31794f581
commit 7ba979a411

View File

@ -48,7 +48,7 @@ lazy_static! {
}
/// 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 {
/// The ID's localpart contains invalid characters.
///