Fix macro expansion

This commit is contained in:
Diggory Blake 2018-09-19 18:07:22 +01:00
parent 61230f5ef7
commit 5b2e1c3b53

View file

@ -85,7 +85,7 @@ macro_rules! private_define_context {
$(auto_field = [{ $($auto_field)* }])*
auto_field = [{ $field_name, $t, $factory }]
$(field = [{ $($field)* }])*
rest = [{ $($rest)+ }]
rest = [{ $($rest)* }]
}
};
{
@ -113,7 +113,7 @@ macro_rules! private_define_context {
$(auto_field = [{ $($auto_field)* }])*
$(field = [{ $($field)* }])*
field = [{ $field_name, $t }]
rest = [{ $($rest)+ }]
rest = [{ $($rest)* }]
}
};
{