[DOC] Remove extra colon in Hash#default_proc

This commit is contained in:
Peter Zhu 2023-12-31 21:25:22 -05:00
parent a19544d154
commit 997124fc0b

2
hash.c
View File

@ -2282,7 +2282,7 @@ rb_hash_default_proc(VALUE hash)
* call-seq:
* hash.default_proc = proc -> proc
*
* Sets the default proc for +self+ to +proc+:
* Sets the default proc for +self+ to +proc+
* (see {Default Values}[rdoc-ref:Hash@Default+Values]):
* h = {}
* h.default_proc # => nil