diff --git a/src/types/non_telegram_types/country_code.rs b/src/types/non_telegram_types/country_code.rs index ddb4154e..459e7f35 100644 --- a/src/types/non_telegram_types/country_code.rs +++ b/src/types/non_telegram_types/country_code.rs @@ -1,6 +1,7 @@ use serde::{Deserialize, Serialize}; /// ISO 3166-1 alpha-2 language code. +#[allow(clippy::upper_case_acronyms)] #[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] pub enum CountryCode { /// Andorra diff --git a/src/types/non_telegram_types/currency.rs b/src/types/non_telegram_types/currency.rs index dcdec729..a252b48b 100644 --- a/src/types/non_telegram_types/currency.rs +++ b/src/types/non_telegram_types/currency.rs @@ -1,6 +1,7 @@ use serde::{Deserialize, Serialize}; /// ISO 4217 currency. +#[allow(clippy::upper_case_acronyms)] #[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)] pub enum Currency { /// United Arab Emirates dirham