summaryrefslogtreecommitdiff
path: root/doc/make_cheatsheet.md
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-02-10 12:10:51 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-02-10 12:19:30 +0900
commitf83781c8c109b7f0b8cd6604d8fed6b8c13b8fd3 (patch)
tree17f97ef9ac4006db8e0e06f3cbed9c43088d108d /doc/make_cheatsheet.md
parenta2845adb4958db33e3e190716c2a4a94365f94f2 (diff)
rb_enc_str_asciionly_p expects T_STRING
This `str2` variable can be non-string (regexp etc.) but the previous code passed it directly to rb_enc_str_asciionly_p(), which expects its argument be a string. Let's enforce that constraint.
Diffstat (limited to 'doc/make_cheatsheet.md')
0 files changed, 0 insertions, 0 deletions