From 91220befb68524cd20f302ee9aa5d989ea609b78 Mon Sep 17 00:00:00 2001 From: Waffle Date: Mon, 15 Feb 2021 00:35:53 +0300 Subject: [PATCH] fix warning --- src/types/passport_element_error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/passport_element_error.rs b/src/types/passport_element_error.rs index da96fba1..981d1232 100644 --- a/src/types/passport_element_error.rs +++ b/src/types/passport_element_error.rs @@ -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),