Fixed trailing

This commit is contained in:
2026-06-04 19:34:49 +02:00
parent 1810520d2c
commit f128bb0008
+2 -2
View File
@@ -91,7 +91,7 @@ generics = { "<" ~ (generic ~ ("," ~ generic)*)? ~ ">" }
// ======================================================
tuple_type = {
"[" ~ (type_expr ~ ("," ~ type_expr)*)? ~ "]"
"[" ~ (type_expr ~ ("," ~ type_expr)*)? ~ ","? ~ "]"
}
path_type = {
@@ -455,7 +455,7 @@ closure = { type_expr? ~ "|" ~ param_list ~ "|" }
// ------------------------------------------------------
tuple = {
"(" ~ (expr ~ ("," ~ expr)*)? ~ ")"
"(" ~ (expr ~ ("," ~ expr)*)? ~ ","? ~ ")"
}
array = {