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 --- hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 56b2bef935..bd22fef1da 100644 --- a/hash.c +++ b/hash.c @@ -1536,7 +1536,7 @@ rb_hash_update_block_i(VALUE key, VALUE value, VALUE hash) * Adds the contents of other_hash to hsh. If no * block is specified entries with duplicate keys are overwritten * with the values from other_hash, otherwise the value - * of each duplicate key is detemined by calling the block with + * of each duplicate key is determined by calling the block with * the key, its value in hsh and its value in other_hash. * * h1 = { "a" => 100, "b" => 200 } @@ -1661,7 +1661,7 @@ rb_hash_rassoc(VALUE hash, VALUE obj) * hash. That is, for every key or value that is an array, extract * its elements into the new array. Unlike Array#flatten, this * method does not flatten recursively by default. If the optional - * level argument determins the level of recursion to flatten. + * level argument determines the level of recursion to flatten. * * a = {1=> "one", 2 => [2,"two"], 3 => "three"} * a.flatten # => [1, "one", 2, [2, "two"], 3, "three"] -- cgit v1.2.3