diff options
author | Kazuki Tsujimoto <[email protected]> | 2021-03-21 15:12:54 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <[email protected]> | 2021-03-21 15:14:31 +0900 |
commit | 21863470d965b8cc299b1f82417c70d5d26f8ab2 (patch) | |
tree | 727faf202cf818d796602b526e17fb9bfea0cb29 /doc/syntax/pattern_matching.rdoc | |
parent | 232433f22423fb6a3ff7a610140c711a964d3b3d (diff) |
Pattern matching pin operator against expression [Feature #17411]
This commit is based on the patch by @nobu.
Diffstat (limited to 'doc/syntax/pattern_matching.rdoc')
-rw-r--r-- | doc/syntax/pattern_matching.rdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc index 9f6954f1cb..69756369fb 100644 --- a/doc/syntax/pattern_matching.rdoc +++ b/doc/syntax/pattern_matching.rdoc @@ -450,6 +450,7 @@ Approximate syntax is: value_pattern: literal | Constant | ^variable + | ^(expression) variable_pattern: variable |