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" ]