* 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
This commit is contained in:
marcandre 2009-09-24 18:25:39 +00:00
parent f3525ac190
commit 01f7f0f327

2
hash.c
View file

@ -427,7 +427,7 @@ rb_hash_rehash_i(key, value, tbl)
* values of key objects have changed since they were inserted, this * values of key objects have changed since they were inserted, this
* method will reindex <i>hsh</i>. If <code>Hash#rehash</code> is * method will reindex <i>hsh</i>. If <code>Hash#rehash</code> is
* called while an iterator is traversing the hash, an * called while an iterator is traversing the hash, an
* <code>IndexError</code> will be raised in the iterator. * <code>RuntimeError</code> will be raised in the iterator.
* *
* a = [ "a", "b" ] * a = [ "a", "b" ]
* c = [ "c", "d" ] * c = [ "c", "d" ]