diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-21 16:08:44 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-21 16:08:44 +0900 |
| commit | 55e127577863e0f913a4b7b8653fcba577c29b86 (patch) | |
| tree | 0845d71b8b010f1aba059646fde5f328dfd4659c /include | |
| parent | c6c18c32b061960ca706e40594b3d32046d0ab8f (diff) | |
| parent | 3ac6c3f090dffee28991eba3346db380e2f69333 (diff) | |
| download | mruby-55e127577863e0f913a4b7b8653fcba577c29b86.tar.gz mruby-55e127577863e0f913a4b7b8653fcba577c29b86.zip | |
Merge pull request #5161 from dearblue/ary-splice
Fix documents for `mrb_ary_splice()` [ci skip]
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/array.h b/include/mruby/array.h index 5164efa69..34011d537 100644 --- a/include/mruby/array.h +++ b/include/mruby/array.h @@ -249,10 +249,10 @@ MRB_API mrb_value mrb_ary_entry(mrb_value ary, mrb_int offset); * * Equivalent to: * - * ary.shift + * ary[head, len] = rpl * * @param mrb The mruby state reference. - * @param self The array from which the value will be shifted. + * @param self The array from which the value will be partiality replaced. * @param head Beginning position of a replacement subsequence. * @param len Length of a replacement subsequence. * @param rpl The array of replacement elements. |
