mruby-array-ext: add parentheses to block.call

added parentheses to block.call where the return value is used.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-12-04 19:52:45 +09:00
parent 75d7b8ed7c
commit 171ad3fb4f
+1 -1
View File
@@ -318,7 +318,7 @@ class Array
while low < high
mid = ((low+high)/2).truncate
res = block.call self[mid]
res = block.call(self[mid])
case res
when 0 # find-any mode: Found!