summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-09 20:06:00 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-09-09 20:06:00 +0900
commit0691a748b6406670ef4cb52d0791b45033b7064e (patch)
tree4bcc7b6616b73ded01bd5ad6b316ccacc0e5e6be
parent551edf64bcbbbc84af59b5ae44a0820314b72777 (diff)
Fix a typo [ci skip]
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index ade5806119..9e952e4591 100644
--- a/compile.c
+++ b/compile.c
@@ -4082,7 +4082,7 @@ compile_hash(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *node, int popp
/* Compilation of a hash literal (or keyword arguments).
* This is very similar to compile_array, but there are some differences:
*
- * - It contains key-value pairs. So we need to take every two elments.
+ * - It contains key-value pairs. So we need to take every two elements.
* We can assume that the length is always even.
*
* - Merging is done by a method call (id_core_hash_merge_ptr).