summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--array.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/array.c b/array.c
index a0cfb214a4..b99ab450a7 100644
--- a/array.c
+++ b/array.c
@@ -1382,8 +1382,9 @@ rb_ary_last(int argc, const VALUE *argv, VALUE ary)
* +default+ value.
*
* Alternatively, if a block is given it will only be executed when an
- * invalid +index+ is referenced. Negative values of +index+ count from the
- * end of the array.
+ * invalid +index+ is referenced.
+ *
+ * Negative values of +index+ count from the end of the array.
*
* a = [ 11, 22, 33, 44 ]
* a.fetch(1) #=> 22