mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c: typo in comment patch by Nami-Doc [Github fixes #253]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6751ba4c7a
commit
e563e6bf10
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Mar 2 02:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* array.c: typo in comment patch by Nami-Doc [Github fixes #253]
|
||||
|
||||
Sat Mar 2 01:33:17 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
|
||||
|
|
2
array.c
2
array.c
|
@ -299,7 +299,7 @@ ary_ensure_room_for_push(VALUE ary, long add_len)
|
|||
rb_ary_modify_check(ary);
|
||||
}
|
||||
else {
|
||||
/* if array is shared, than it is likely it participate in push/shift pattern */
|
||||
/* if array is shared, then it is likely it participate in push/shift pattern */
|
||||
rb_ary_modify(ary);
|
||||
capa = ARY_CAPA(ary);
|
||||
if (new_len > capa - (capa >> 6)) {
|
||||
|
|
Loading…
Reference in a new issue