Fix Clippy

This commit is contained in:
Temirkhan Myrzamadi 2020-01-01 01:16:47 +06:00
parent 46f29736de
commit 1b89289de6

View file

@ -22,6 +22,7 @@ pub struct EncryptedPassportElement {
#[serde_with_macros::skip_serializing_none] #[serde_with_macros::skip_serializing_none]
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)] #[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
#[serde(rename_all = "snake_case")] #[serde(rename_all = "snake_case")]
#[allow(clippy::large_enum_variant)]
pub enum EncryptedPassportElementKind { pub enum EncryptedPassportElementKind {
PersonalDetails { PersonalDetails {
/// Base64-encoded encrypted Telegram Passport element data provided /// Base64-encoded encrypted Telegram Passport element data provided