minor cleans

This commit is contained in:
Marc-Antoine Arnaud 2018-04-10 11:55:06 +02:00
parent 513e546836
commit cbfaa1e382
2 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ pub fn parse(data_struct: &DataStruct, name: &Ident, root: &String) -> Tokens {
#label = parsed_structure; #label = parsed_structure;
}, },
Err(msg) => { Err(msg) => {
println!("ERROR {:?}", msg); return Err(msg);
}, },
} }
}, },
@ -167,7 +167,7 @@ pub fn parse(data_struct: &DataStruct, name: &Ident, root: &String) -> Tokens {
#label.push(parsed_item); #label.push(parsed_item);
}, },
Err(msg) => { Err(msg) => {
println!("ERROR {:?}", msg); return Err(msg);
}, },
} }
}, },

View File

@ -68,4 +68,4 @@ fn get_vec_type(t: &syn::PathSegment) -> Option<syn::Ident> {
}, },
_ => None _ => None
} }
} }