Skip to content

Commit bbc10ed

Browse files
committed
Add NEWS entry for Array#rfind and Array#find
1 parent 35209ca commit bbc10ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ Note: We're only listing outstanding class updates.
8282
* A deprecated behavior, process creation by `Kernel#open` with a
8383
leading `|`, was removed. [[Feature #19630]]
8484
85+
* Array
86+
87+
* `Array#rfind` has been added as a more efficient alternative to `array.reverse_each.find` [[Feature #21678]]
88+
* `Array#find` has been added as a more efficient override of `Enumerable#find` [[Feature #21678]]
89+
8590
* Binding
8691
8792
* `Binding#local_variables` does no longer include numbered parameters.
@@ -478,4 +483,5 @@ A lot of work has gone into making Ractors more stable, performant, and usable.
478483
[Feature #21550]: https://bugs.ruby-lang.org/issues/21550
479484
[Feature #21557]: https://bugs.ruby-lang.org/issues/21557
480485
[Bug #21654]: https://bugs.ruby-lang.org/issues/21654
486+
[Feature #21678]: https://bugs.ruby-lang.org/issues/21678
481487
[Feature #21701]: https://bugs.ruby-lang.org/issues/21701

0 commit comments

Comments
 (0)