mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 04:48:01 +00:00
Updated non_snake_case and struct lifetimes for the latest Rust
This commit is contained in:
+1
-1
@@ -2255,7 +2255,7 @@ macro_rules! impl_to_json_tuple {
|
||||
( $($name:ident,)+ ) => {
|
||||
impl<$($name: ToJson),*> ToJson for ($($name,)*) {
|
||||
#[inline]
|
||||
#[allow(uppercase_variables)]
|
||||
#[allow(non_snake_case)]
|
||||
fn to_json(&self) -> Json {
|
||||
// FIXME: how can we count macro args?
|
||||
let mut len = 0;
|
||||
|
||||
Reference in New Issue
Block a user