This commit is contained in:
2026-05-24 12:29:42 +02:00
parent fde41b9a22
commit 1c2cc94cb9
5 changed files with 56 additions and 15 deletions
+8 -1
View File
@@ -436,6 +436,12 @@ match_stmt = {
// EXPRESSIONS
// ======================================================
// ------------------------------------------------------
// CLOSURES
// ------------------------------------------------------
closure = { type_expr? ~ "|" ~ param_list ~ "|" }
// ------------------------------------------------------
// TUPLES & ARRAYS
// ------------------------------------------------------
@@ -549,7 +555,8 @@ not_px = { "!" }
neg_px = { "-" }
prefix = {
deref_px
closure
| deref_px
| mut_ref_px
| ref_px
| new_px