summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-09-18 22:02:38 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-09-19 15:35:15 -0700
commit02d5b8443a0f77bf498d29c0121e035f4deeaa27 (patch)
treea99f1b6d4e74680b3de21e5d7c6dd7045f3ec89b /include/ruby/missing.h
parentf048f77c4a0bf9cb604e2f3291dda71978ed8313 (diff)
Simplify enc_autoload_body
Previously we were looping over the enc_table, but when I added an assertion the only thing that loop was doing is the equivalent of ENC_TO_ENCINDEX(base). However we don't even need the index of base. Instead we should be able to just use the badirectly.
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions