summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index db8bdc8bb6..8ed8c48ebb 100644
--- a/hash.c
+++ b/hash.c
@@ -2863,7 +2863,7 @@ rb_hash_any_p(VALUE hash)
*
* g = { foo: [10, 11, 12] }
* g.dig(:foo, 1) #=> 11
- * g.dig(:foo, 1, 0) #=> TypeError: Fixnum does not have #dig method
+ * g.dig(:foo, 1, 0) #=> TypeError: Integer does not have #dig method
* g.dig(:foo, :bar) #=> TypeError: no implicit conversion of Symbol into Integer
*/