summaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 21:19:03 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 21:19:03 +0000
commit18727260d256253b968458587cc772c327778eef (patch)
tree0fe149a6812fd75db9336b8d8fa097c5e3fc77b2 /array.c
parent68ae248e5787e613f8c825fe8550d9e86ce12d30 (diff)
downloadruby-18727260d256253b968458587cc772c327778eef.tar.gz
ruby-18727260d256253b968458587cc772c327778eef.tar.xz
ruby-18727260d256253b968458587cc772c327778eef.zip
Fix doc typos
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/array.c b/array.c
index 8daa6accf..caf9dc240 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
* <code>IndexError</code> exception, the second form returns
* <i>default</i>, and the third form returns the value of invoking
- * the block, passing in the index. Negative values of <i>idex</i>
+ * the block, passing in the index. Negative values of <i>index</i>
* 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_.
*