aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/NEWS.md b/NEWS.md
index 5f0b5a6b2c..b30d707b4d 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -15,11 +15,13 @@ Note that each entry is kept to a minimum, see links for details.
```
* Pin operator now supports instance, class, and global variables.
- [[Feature #17724]]
+ [[Feature #17724]]
+ ```ruby
@n = 5
Prime.each_cons(2).lazy.find{_1 in [n, ^@n]}
#=> [3, 5]
+ ```
* Multiple assignment evaluation order has been made consistent with
single assignment evaluation order. With single assignment, Ruby