From b00f4fec14825ac08f22846ac1dd24ef5dbd96bf Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 17 Dec 2017 10:00:56 +0100 Subject: [PATCH] add missing comma --- macros/src/trans.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/src/trans.rs b/macros/src/trans.rs index b540fd1d63..b50c73df29 100644 --- a/macros/src/trans.rs +++ b/macros/src/trans.rs @@ -260,7 +260,7 @@ fn init(app: &App, main: &mut Vec, root: &mut Vec) { rexprs.push(quote!(#name: { static mut #name: #ty = #expr; &mut #name - })); + },)); } else { let _name = Ident::new(format!("_{}", name.as_ref())); lifetime = Some(quote!('a));