Fixed trailing
This commit is contained in:
@@ -91,7 +91,7 @@ generics = { "<" ~ (generic ~ ("," ~ generic)*)? ~ ">" }
|
|||||||
// ======================================================
|
// ======================================================
|
||||||
|
|
||||||
tuple_type = {
|
tuple_type = {
|
||||||
"[" ~ (type_expr ~ ("," ~ type_expr)*)? ~ "]"
|
"[" ~ (type_expr ~ ("," ~ type_expr)*)? ~ ","? ~ "]"
|
||||||
}
|
}
|
||||||
|
|
||||||
path_type = {
|
path_type = {
|
||||||
@@ -455,7 +455,7 @@ closure = { type_expr? ~ "|" ~ param_list ~ "|" }
|
|||||||
// ------------------------------------------------------
|
// ------------------------------------------------------
|
||||||
|
|
||||||
tuple = {
|
tuple = {
|
||||||
"(" ~ (expr ~ ("," ~ expr)*)? ~ ")"
|
"(" ~ (expr ~ ("," ~ expr)*)? ~ ","? ~ ")"
|
||||||
}
|
}
|
||||||
|
|
||||||
array = {
|
array = {
|
||||||
|
|||||||
Reference in New Issue
Block a user