Fix a message in example code

Thanks to @zverok for the report.
This commit is contained in:
Kazuki Tsujimoto 2020-12-23 02:32:30 +09:00
parent 31b17a14ab
commit b222a1a494
No known key found for this signature in database
GPG Key ID: BCEA306C49B81CD7

View File

@ -261,7 +261,7 @@ Variables that start with <code>_</code> are the only exclusions from this rule:
else else
"not matched" "not matched"
end 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. It is, though, not advised to reuse bound value, as these pattern's goal is to signify discarded value.