From 3ac6c3f090dffee28991eba3346db380e2f69333 Mon Sep 17 00:00:00 2001 From: dearblue Date: Sat, 21 Nov 2020 15:47:40 +0900 Subject: [PATCH] Fix documents for `mrb_ary_splice()` [ci skip] --- include/mruby/array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mruby/array.h b/include/mruby/array.h index 5164efa69d..34011d537e 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.