[前][次][番号順一覧][スレッド一覧]

ruby-changes:57679

From: Kazuhiro <ko1@a...>
Date: Mon, 9 Sep 2019 20:06:30 +0900 (JST)
Subject: [ruby-changes:57679] 0691a748b6 (master): Fix a typo [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=0691a748b6

From 0691a748b6406670ef4cb52d0791b45033b7064e Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Mon, 9 Sep 2019 20:06:00 +0900
Subject: Fix a typo [ci skip]


diff --git a/compile.c b/compile.c
index ade5806..9e952e4 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 https://github.com/ruby/ruby/blob/trunk/compile.c#L4082
     /* 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).
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]