aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2020-06-01 01:49:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-01 08:11:05 +0900
commit6a0405def25cd658184b844acfd83d15ccdae171 (patch)
treeae05b4b0c67b73d8a225a4805fe86cbccde51c1b /hash.c
parentb7e1de117e20911ed86b229a4c2f912e469c6472 (diff)
downloadruby-6a0405def25cd658184b844acfd83d15ccdae171.tar.gz
fix typo in Hash#delete docs
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 80651b03e7..87a30c45e8 100644
--- a/hash.c
+++ b/hash.c
@@ -2506,7 +2506,7 @@ rb_hash_delete(VALUE hash, VALUE key)
/*
* call-seq:
* hash.delete(key) -> value or nil
- * hash.delete(key) { |key| ... } -<value
+ * hash.delete(key) { |key| ... } -> value
*
* Deletes the entry for the given +key+
* and returns its associated value.