mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 11:43:57 +01:00
Suppress clippy::upper_case_acronyms for Currency and CountryCode
This commit is contained in:
parent
8befcffe26
commit
fc88c72a26
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue