summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKazuki Tsujimoto <kazuki@callcc.net>2021-07-17 11:13:52 +0900
committerKazuki Tsujimoto <kazuki@callcc.net>2021-07-17 11:13:52 +0900
commiteed5e8f796ab18e2e0a436dab83e35504ae3ded0 (patch)
treefebfbe44e74849e2198a980451885fc692475fab /doc
parentfd0df9c4fb36597e5e3f500670b29dbd77a14eca (diff)
One-line pattern matching is no longer experimental
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
Diffstat (limited to 'doc')
-rw-r--r--doc/syntax/pattern_matching.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/pattern_matching.rdoc b/doc/syntax/pattern_matching.rdoc
index 49835def22..f80703d5c6 100644
--- a/doc/syntax/pattern_matching.rdoc
+++ b/doc/syntax/pattern_matching.rdoc
@@ -441,7 +441,7 @@ Additionally, when matching custom classes, the expected class can be specified
== Current feature status
-As of Ruby 3.0, one-line pattern matching and find patterns are considered _experimental_: its syntax can change in the future. Every time you use these features in code, a warning will be printed:
+As of Ruby 3.1, find patterns are considered _experimental_: its syntax can change in the future. Every time you use these features in code, a warning will be printed:
[0] => [*, 0, *]
# warning: Find pattern is experimental, and the behavior may change in future versions of Ruby!