Derive Eq for ParseError

This commit is contained in:
Curtis McEnroe 2015-12-23 23:07:26 -05:00
vanhempi 228c732e2e
commit db058fffdf
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa

Näytä tiedosto

@ -21,7 +21,7 @@ pub trait FromResponse: Sized {
}
/// Response parse errors.
#[derive(Debug)]
#[derive(Debug, PartialEq, Eq)]
pub enum ParseError {
/// Expected response to be of type.
ExpectedType(&'static str),