aboutsummaryrefslogtreecommitdiffstats
path: root/test/-ext-/string/test_set_len.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-15 01:29:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-15 01:29:37 +0000
commite7302084ac9bc05ce3196bb2c919a35a255e0c4e (patch)
tree17f579983777662bd2b0a8fbc1c018164113a086 /test/-ext-/string/test_set_len.rb
parent1ca0f9452ba2aa5f286578b2a37be05fc2d3ed39 (diff)
downloadruby-e7302084ac9bc05ce3196bb2c919a35a255e0c4e.tar.gz
string.c: remove redundant calls
* string.c (rb_str_enumerate_bytes, rb_str_enumerate_codepoints): do not check if a block is given twice. RETURN_SIZED_ENUMERATOR includes rb_block_given_p() check which is redundant here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/-ext-/string/test_set_len.rb')
0 files changed, 0 insertions, 0 deletions