From 9146c954ffa4b5112d66273915a2fd74edbb38f3 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 23 Dec 2003 21:19:03 +0000 Subject: Fix doc typos git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 8daa6accf0..caf9dc2401 100644 --- a/array.c +++ b/array.c @@ -779,7 +779,7 @@ rb_ary_last(argc, argv, ary) * lies outside the array, the first form throws an * IndexError exception, the second form returns * default, and the third form returns the value of invoking - * the block, passing in the index. Negative values of idex + * the block, passing in the index. Negative values of index * count from the end of the array. * * a = [ 11, 22, 33, 44 ] @@ -2255,7 +2255,8 @@ rb_ary_plus(x, y) } /* - * self.concat(other_array) => array + * call-seq: + * self.concat(other_array) => array * * Appends the elements in other_array to _self_. * -- cgit v1.2.1