aboutsummaryrefslogtreecommitdiffstats
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 a713e390ab..6d469cba67 100644
--- a/array.c
+++ b/array.c
@@ -2342,10 +2342,10 @@ rb_ary_assoc(VALUE ary, VALUE key)
/*
* call-seq:
- * array.rassoc(key) -> an_array or nil
+ * array.rassoc(obj) -> an_array or nil
*
* Searches through the array whose elements are also arrays. Compares
- * <em>key</em> with the second element of each contained array using
+ * _obj_ with the second element of each contained array using
* <code>==</code>. Returns the first contained array that matches. See
* also <code>Array#assoc</code>.
*