Skip to content

Commit bfba263

Browse files
committed
[DOC] Fix hash style in Hash method
1 parent b6afc8b commit bfba263

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4071,7 +4071,7 @@ rb_Hash(VALUE val)
40714071
*
40724072
* Examples:
40734073
*
4074-
* Hash({foo: 0, bar: 1}) # => {:foo=>0, :bar=>1}
4074+
* Hash({foo: 0, bar: 1}) # => {foo: 0, bar: 1}
40754075
* Hash(nil) # => {}
40764076
* Hash([]) # => {}
40774077
*

0 commit comments

Comments
 (0)