summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/dir/inspect_spec.rb
diff options
context:
space:
mode:
authorNAITOH Jun <naitoh@gmail.com>2024-09-14 06:36:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-09-24 15:12:48 +0900
commit373f679e48068ebead61a029922a48879c39bef5 (patch)
tree6d5b25acb5fafc75d541c585e46d51101ddadab9 /spec/rubyspec/core/dir/inspect_spec.rb
parent4956324af3ef3b3f706a863e3ba5239ad77f73c4 (diff)
fix rb_memsearch() documentHEADmaster
## Why? The explanation of x and y is reversed. https://github.com/ruby/ruby/blob/ddbd64400199fd408d23c85f9fb0d7f742ecf9e1/re.c#L251-L256 ``` long rb_memsearch(const void *x0, long m, const void *y0, long n, rb_encoding *enc) { const unsigned char *x = x0, *y = y0; if (m > n) return -1; ```
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11625
Diffstat (limited to 'spec/rubyspec/core/dir/inspect_spec.rb')
0 files changed, 0 insertions, 0 deletions