mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-24 09:16:12 +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};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// ISO 3166-1 alpha-2 language code.
|
/// ISO 3166-1 alpha-2 language code.
|
||||||
|
#[allow(clippy::upper_case_acronyms)]
|
||||||
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
||||||
pub enum CountryCode {
|
pub enum CountryCode {
|
||||||
/// Andorra
|
/// Andorra
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
/// ISO 4217 currency.
|
/// ISO 4217 currency.
|
||||||
|
#[allow(clippy::upper_case_acronyms)]
|
||||||
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
|
||||||
pub enum Currency {
|
pub enum Currency {
|
||||||
/// United Arab Emirates dirham
|
/// United Arab Emirates dirham
|
||||||
|
|
Loading…
Add table
Reference in a new issue