mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (str_rindex): remove comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d620b0b9cd
commit
79be10475f
1 changed files with 0 additions and 1 deletions
1
string.c
1
string.c
|
@ -2685,7 +2685,6 @@ str_rindex(VALUE str, VALUE sub, const char *s, long pos, rb_encoding *enc)
|
|||
searchlen = s - sbeg + 1;
|
||||
|
||||
do {
|
||||
/* printf("\"%s\" \"%s\" %ld %ld %d\n", hit, t, slen, searchlen, memcmp(hit, t, slen)); */
|
||||
hit = memrchr(sbeg, c, searchlen);
|
||||
if (!hit) break;
|
||||
adjusted = rb_enc_left_char_head(sbeg, hit, e, enc);
|
||||
|
|
Loading…
Reference in a new issue