Updated non_snake_case and struct lifetimes for the latest Rust

This commit is contained in:
kvark committed 2014-09-04 21:57:13 -04:00
1 parent 3a5424b13c
commit 6b62229dae
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -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;