From 01f7f0f327702e3c75ce4d896b46b767aa13f861 Mon Sep 17 00:00:00 2001 From: marcandre Date: Thu, 24 Sep 2009 18:25:39 +0000 Subject: [PATCH] * hash.c (rehash doc): doc fix [ruby-core:23628] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.c b/hash.c index c5f28c4c5b..a09a07d37b 100644 --- a/hash.c +++ b/hash.c @@ -427,7 +427,7 @@ rb_hash_rehash_i(key, value, tbl) * values of key objects have changed since they were inserted, this * method will reindex hsh. If Hash#rehash is * called while an iterator is traversing the hash, an - * IndexError will be raised in the iterator. + * RuntimeError will be raised in the iterator. * * a = [ "a", "b" ] * c = [ "c", "d" ]