about summary refs log tree commit diff
path: root/docs/grammar.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/grammar.md')
-rw-r--r--docs/grammar.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/grammar.md b/docs/grammar.md
index 18a8550..fd47c47 100644
--- a/docs/grammar.md
+++ b/docs/grammar.md
@@ -236,10 +236,10 @@ type_variant = "variant" "{" variant_cases "}"
 type_class = "class" "{" class_methods "}"
 type_function = "fun" function_header
 type_structure = "{" struct_fields "}"
-type_tuple = "(" [ type { "," type } ] ")"
+type_tuple = "(" [ type { "," type } ] ")" # 1-tuple is equivalent to a simple group
 type_array = "[" type "]"
 type_map = "[" type "=" type "]"
-type_reference = "&" type
+type_reference = "&" type_inner
 
 # common shapes