summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-31 21:25:22 -0500
committerPeter Zhu <[email protected]>2023-12-31 21:25:22 -0500
commit997124fc0b7697bb9383e8feb8e1d88017c4bcb8 (patch)
tree740be20c06c96011b75727dc92b34b078c6d9b55 /hash.c
parenta19544d15491be4816eb591f5e7ebd2f75ba6929 (diff)
[DOC] Remove extra colon in Hash#default_proc
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 3aff655a94..51f8f85d63 100644
--- a/hash.c
+++ b/hash.c
@@ -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