1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2019-09-09 20:06:00 +09:00
parent 551edf64bc
commit 0691a748b6
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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). /* Compilation of a hash literal (or keyword arguments).
* This is very similar to compile_array, but there are some differences: * 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. * We can assume that the length is always even.
* *
* - Merging is done by a method call (id_core_hash_merge_ptr). * - Merging is done by a method call (id_core_hash_merge_ptr).