summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 4bdc202b1c..22242de44d 100644
--- a/array.c
+++ b/array.c
@@ -2001,7 +2001,7 @@ rb_ary_delete_if(ary)
* <i>self</i> with corresponding elements from each argument. This
* generates a sequence of <code>self#size</code> <em>n</em>-element
* arrays, where <em>n</em> is one more that the count of arguments. If
- * the size of any arguemnt is less than <code>enumObj#size</code>,
+ * the size of any argument is less than <code>enumObj#size</code>,
* <code>nil</code> values are supplied. If a block given, it is
* invoked for each output array, otherwise an array of arrays is
* returned.
@@ -2343,7 +2343,7 @@ rb_ary_times(ary, times)
* comparing _obj_ with the first element of each contained array
* using obj.==.
* Returns the first contained array that matches (that
- * is, the first assoc}iated array,
+ * is, the first associated array),
* or +nil+ if no match is found.
* See also Array.rassoc.
*