diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-09 16:39:28 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-07-09 16:39:28 +0900 |
| commit | 5e79d5a5608f9018a3deab53df9b2d7f42c9c464 (patch) | |
| tree | d0410c5ab2ba1829b9631e61571b85ef2607d129 /test/ruby/test_lambda.rb | |
| parent | e2257831ab20915b839eeaff79c6ec45b498de77 (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/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
