summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-06-11 10:28:34 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-06-29 11:05:41 +0900
commit86c869fb5967e1e75691721683c43c1d12f05966 (patch)
treee287313aa53393265e1cb6204d128e4efbb77e07 /spec/ruby/core/array
parent2e8d8d10f211b52f520109a8bfdd3bb3a6eab8c0 (diff)
ary_ensure_room_for_unshift: do not goto into a branch
I'm not necessarily against every goto in general, but jumping into a branch is definitely a bad idea. Better refactor.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3247
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions