1
0
Fork 0
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:
glass 2013-08-01 13:32:06 +00:00
parent d620b0b9cd
commit 79be10475f

View file

@ -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);