xmpp-parsers: Make everything PartialEq! \o/

This commit is contained in:
Emmanuel Gil Peyrot 2020-11-29 21:17:51 +01:00
commit 923a054b81
15 changed files with 21 additions and 25 deletions

View file

@ -14,7 +14,7 @@ use std::str::FromStr;
///
/// The text value SHOULD be of the form algo+hash@bob.xmpp.org, this struct
/// enforces that format.
#[derive(Clone, Debug)]
#[derive(Clone, Debug, PartialEq)]
pub struct ContentId {
hash: Hash,
}