Fix up find/find_map.

This commit is contained in:
Stephen Chung
2022-12-20 22:27:29 +08:00
parent 6e40215631
commit d94f362b51
2 changed files with 145 additions and 142 deletions

View File

@@ -66,6 +66,7 @@ Enhancements
* `FnPtr::iter_curry` and `FnPtr::iter_curry_mut` are added.
* `Dynamic::deep_scan` is added to recursively scan for `Dynamic` values.
* `>>` and `<<` operators on integers no longer throw errors when the number of bits to shift is out of bounds. Shifting by a negative number of bits simply reverses the shift direction.
* `find` and `find_map` are added for arrays.
Version 1.11.0