fix warning

This commit is contained in:
Waffle 2021-02-15 00:35:53 +03:00
parent 781371cb17
commit 91220befb6

View file

@ -38,8 +38,8 @@ impl PassportElementError {
}
}
#[serde(tag = "source")]
#[derive(Clone, Debug, Hash, Eq, PartialEq, Serialize, Deserialize)]
#[serde(tag = "source")]
pub enum PassportElementErrorKind {
#[serde(rename = "data")]
DataField(PassportElementErrorDataField),