add missing comma

This commit is contained in:
Jorge Aparicio 2017-12-17 10:00:56 +01:00
parent d30bdcb096
commit b00f4fec14

View file

@ -260,7 +260,7 @@ fn init(app: &App, main: &mut Vec<Tokens>, root: &mut Vec<Tokens>) {
rexprs.push(quote!(#name: { rexprs.push(quote!(#name: {
static mut #name: #ty = #expr; static mut #name: #ty = #expr;
&mut #name &mut #name
})); },));
} else { } else {
let _name = Ident::new(format!("_{}", name.as_ref())); let _name = Ident::new(format!("_{}", name.as_ref()));
lifetime = Some(quote!('a)); lifetime = Some(quote!('a));