diff options
author | Kazuki Tsujimoto <[email protected]> | 2020-12-23 02:32:30 +0900 |
---|---|---|
committer | Kazuki Tsujimoto <[email protected]> | 2020-12-23 02:37:27 +0900 |
commit | b222a1a49473490ef8903b76868de86cd0a2164e (patch) | |
tree | 4193e2bccdfaa74401a0aed45813ca123c80046a /doc/syntax | |
parent | 31b17a14abf9686a0a9b6777c6b47285f510b66a (diff) |
Fix a message in example code
Thanks to @zverok for the report.
Diffstat (limited to 'doc/syntax')
-rw-r--r-- | doc/syntax/pattern_matching.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc index 323f7ca6c7..2ab1e3ec74 100644 --- a/doc/syntax/pattern_matching.rdoc +++ b/doc/syntax/pattern_matching.rdoc @@ -261,7 +261,7 @@ Variables that start with <code>_</code> are the only exclusions from this rule: else "not matched" end - # => "matched: 1" + # => "matched: 1, 2" It is, though, not advised to reuse bound value, as these pattern's goal is to signify discarded value. |