ruby-changes:64367
From: Kazuki <ko1@a...>
Date: Sun, 20 Dec 2020 13:26:00 +0900 (JST)
Subject: [ruby-changes:64367] d37be18af5 (master): Fix typos
https://git.ruby-lang.org/ruby.git/commit/?id=d37be18af5 From d37be18af5a789003e46015c2a2a916923e7682a Mon Sep 17 00:00:00 2001 From: Kazuki Tsujimoto <kazuki@c...> Date: Sun, 20 Dec 2020 13:25:43 +0900 Subject: Fix typos diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc index 849292e..284a5b1 100644 --- a/doc/syntax/pattern_matching.rdoc +++ b/doc/syntax/pattern_matching.rdoc @@ -446,9 +446,9 @@ Approximate syntax is: https://github.com/ruby/ruby/blob/trunk/doc/syntax/pattern_matching.rdoc#L446 | 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/