summaryrefslogtreecommitdiff
path: root/doc/syntax
diff options
context:
space:
mode:
authorKazuki Tsujimoto <kazuki@callcc.net>2020-12-20 13:25:43 +0900
committerKazuki Tsujimoto <kazuki@callcc.net>2020-12-20 13:25:43 +0900
commitd37be18af5a789003e46015c2a2a916923e7682a (patch)
treeaee0bab46136d4cbb7e6be991e193bb2a7c53a9f /doc/syntax
parent4902f96ee56d0391165b9ba769224c0d88d105fe (diff)
Fix typos
Diffstat (limited to 'doc/syntax')
-rw-r--r--doc/syntax/pattern_matching.rdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc
index 849292eae3..284a5b139b 100644
--- a/doc/syntax/pattern_matching.rdoc
+++ b/doc/syntax/pattern_matching.rdoc
@@ -446,9 +446,9 @@ Approximate syntax is:
| Constant(*variable, pattern, ..., *variable)
| Constant[*variable, pattern, ..., *variable]
- hash_pattern: {key:, pattern, key:, ..., **variable}
- | Constant(key:, pattern, key:, ..., **variable)
- | Constant[key:, pattern, key:, ..., **variable]
+ hash_pattern: {key: pattern, key:, ..., **variable}
+ | Constant(key: pattern, key:, ..., **variable)
+ | Constant[key: pattern, key:, ..., **variable]
== Appendix B. Some undefined behavior examples