summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2026-05-13 21:03:16 -0400
committerPeter Zhu <peter@peterzhu.ca>2026-05-13 21:07:58 -0400
commitbfba2637246b652aea9d67380b3930e421002e42 (patch)
tree618465dcb3d08bf7a017181583629c6fb4ec8d28 /object.c
parentb6afc8b99bc974e3b46b535cd7cb1183a6f00489 (diff)
[DOC] Fix hash style in Hash method
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 4e98d9a5cc..8dd701ec5b 100644
--- a/object.c
+++ b/object.c
@@ -4071,7 +4071,7 @@ rb_Hash(VALUE val)
*
* Examples:
*
- * Hash({foo: 0, bar: 1}) # => {:foo=>0, :bar=>1}
+ * Hash({foo: 0, bar: 1}) # => {foo: 0, bar: 1}
* Hash(nil) # => {}
* Hash([]) # => {}
*