Don't implement ne for ImageResponseMsg, since it matches the default.

This commit is contained in:
Cameron Zwarich 2014-05-28 21:21:10 -07:00
parent 547ad2dc48
commit abaf05a96a

View file

@ -65,10 +65,6 @@ impl Eq for ImageResponseMsg {
(&ImageReady(..), _) | (&ImageNotReady, _) | (&ImageFailed, _) => false
}
}
fn ne(&self, other: &ImageResponseMsg) -> bool {
!(*self).eq(other)
}
}
#[deriving(Clone)]