Suppress clippy::upper_case_acronyms for Currency and CountryCode

This commit is contained in:
Waffle 2021-02-06 19:25:36 +03:00
parent 8befcffe26
commit fc88c72a26
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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