mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
391d81e54d
commit
5a17f4c4a3
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -893,7 +893,7 @@ enum_sort_by(VALUE obj)
|
||||||
RETURN_ENUMERATOR(obj, 0, 0);
|
RETURN_ENUMERATOR(obj, 0, 0);
|
||||||
|
|
||||||
if (TYPE(obj) == T_ARRAY && RARRAY_LEN(obj) <= LONG_MAX/2) {
|
if (TYPE(obj) == T_ARRAY && RARRAY_LEN(obj) <= LONG_MAX/2) {
|
||||||
ary = rb_ary_new2(RARRAY_LEN(obj)*2);
|
ary = rb_ary_new2(RARRAY_LEN(obj)*2);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ary = rb_ary_new();
|
ary = rb_ary_new();
|
||||||
|
|
Loading…
Reference in a new issue