mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
add missing comma
This commit is contained in:
parent
d30bdcb096
commit
b00f4fec14
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue