Fix RepeatedField#first in Ruby gem (#5293)
Given an argument, the previous implementation was off by one (`.first(2)` would return 3 elements) compared to the `Enumerable#first` method.
Showing
Please
register
or
sign in
to comment
Given an argument, the previous implementation was off by one (`.first(2)` would return 3 elements) compared to the `Enumerable#first` method.