From 5088b14db79eb112f55ea983c45e3724ab9251d4 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 31 Dec 2007 06:43:32 +0000 Subject: fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index a2cf86a24c..3daed9984b 100644 --- a/array.c +++ b/array.c @@ -2819,7 +2819,7 @@ flatten(VALUE ary, int level, int *modified) * Flattens _self_ in place. * Returns nil if no modifications were made (i.e., * array contains no subarrays.) If the optional level - * argument determins the level of recursion to flatten. + * argument determines the level of recursion to flatten. * * a = [ 1, 2, [3, [4, 5] ] ] * a.flatten! #=> [1, 2, 3, 4, 5] @@ -2854,7 +2854,7 @@ rb_ary_flatten_bang(int argc, VALUE *argv, VALUE ary) * Returns a new array that is a one-dimensional flattening of this * array (recursively). That is, for every element that is an array, * extract its elements into the new array. If the optional - * level argument determins the level of recursion to flatten. + * level argument determines the level of recursion to flatten. * * s = [ 1, 2, 3 ] #=> [1, 2, 3] * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]] -- cgit v1.2.3