summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/mruby/array.h4
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.