Change lint names to plurals
This commit is contained in:
parent
dc206a91c8
commit
e7122a5a09
34 changed files with 49 additions and 49 deletions
|
@ -2430,7 +2430,7 @@ macro_rules! to_json_impl_i64 {
|
|||
($($t:ty), +) => (
|
||||
$(impl ToJson for $t {
|
||||
fn to_json(&self) -> Json {
|
||||
#![allow(trivial_numeric_cast)]
|
||||
#![allow(trivial_numeric_casts)]
|
||||
Json::I64(*self as i64)
|
||||
}
|
||||
})+
|
||||
|
@ -2443,7 +2443,7 @@ macro_rules! to_json_impl_u64 {
|
|||
($($t:ty), +) => (
|
||||
$(impl ToJson for $t {
|
||||
fn to_json(&self) -> Json {
|
||||
#![allow(trivial_numeric_cast)]
|
||||
#![allow(trivial_numeric_casts)]
|
||||
Json::U64(*self as u64)
|
||||
}
|
||||
})+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue