aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/array.c b/array.c
index 591ae9cfce..627e0fda18 100644
--- a/array.c
+++ b/array.c
@@ -5461,15 +5461,9 @@ rb_ary_concat(VALUE x, VALUE y)
*
* ---
*
- * When argument +n+ is given, returns a new \Array
- * built by concatenating +n+ copies of +self+.
- *
- * If +n+ is positive, returns the concatenation of +n+ repetitions of +self+:
+ * When argument +n+ is given, returns a new array built by concatenating the +int+ copies of +self+:
* a = ['x', 'y']
* a * 3 # => ["x", "y", "x", "y", "x", "y"]
- *
- * If +n+ is zero, returns an new empty \Array:
- * a = [0, 1]
* a * 0 # => []
*
* ---