summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 71a7d1599e..0cfc635a93 100644
--- a/array.c
+++ b/array.c
@@ -1701,10 +1701,10 @@ static VALUE rb_ary_aref2(VALUE ary, VALUE b, VALUE e);
* call-seq:
* array[index] -> object or nil
* array[start, length] -> object or nil
- * array[range] → object or nil
+ * array[range] -> object or nil
* array.slice(index) -> object or nil
* array.slice(start, length) -> object or nil
- * array.slice(range) → object or nil
+ * array.slice(range) -> object or nil
*
* Returns elements from +self+; does not modify +self+.
*