summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-28 19:08:05 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-28 19:08:05 +0900
commit71945ad827efe0bf62bbf87b5528206aabbd4022 (patch)
treeb8c85b87d59a8813222c41097c5475b795243eba /hash.c
parent342dbd4f4e1ebfb31284a087f10232ea684b66a0 (diff)
downloadruby-71945ad827efe0bf62bbf87b5528206aabbd4022.tar.gz
Fix a comment [ci skip]
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 3d69befcdf..32f1364c1a 100644
--- a/hash.c
+++ b/hash.c
@@ -2356,7 +2356,7 @@ rb_hash_stlike_delete(VALUE hash, st_data_t *pkey, st_data_t *pval)
}
/*
- * delete a specified entry a given key.
+ * delete a specified entry by a given key.
* if there is the corresponding entry, return a value of the entry.
* if there is no corresponding entry, return Qundef.
*/