summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-09 16:39:28 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-09 16:39:28 +0900
commit5e79d5a5608f9018a3deab53df9b2d7f42c9c464 (patch)
treed0410c5ab2ba1829b9631e61571b85ef2607d129 /test/ruby
parente2257831ab20915b839eeaff79c6ec45b498de77 (diff)
Make `rb_str_rindex` return byte index
Leave callers to convert byte index to char index, as well as `rb_str_index`, so that `rb_str_rpartition` does not need to re-convert char index to byte index.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8047
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions