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

ruby-changes:71291

From: Yusuke <ko1@a...>
Date: Mon, 28 Feb 2022 11:40:36 +0900 (JST)
Subject: [ruby-changes:71291] 1cb6790533 (master): st.c: Fix a typo in a comment

https://git.ruby-lang.org/ruby.git/commit/?id=1cb6790533

From 1cb67905337100015c6845cdb4be2bc2133014ea Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Mon, 28 Feb 2022 11:39:55 +0900
Subject: st.c: Fix a typo in a comment

---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/st.c b/st.c
index 07a083abb0..c4966f1d8c 100644
--- a/st.c
+++ b/st.c
@@ -177,7 +177,7 @@ static const struct st_hash_type type_strcasehash = { https://github.com/ruby/ruby/blob/trunk/st.c#L177
 #define PTR_EQUAL(tab, ptr, hash_val, key_) \
     ((ptr)->hash == (hash_val) && EQUAL((tab), (key_), (ptr)->key))
 
-/* As PRT_EQUAL only its result is returned in RES.  REBUILT_P is set
+/* As PTR_EQUAL only its result is returned in RES.  REBUILT_P is set
    up to TRUE if the table is rebuilt during the comparison.  */
 #define DO_PTR_EQUAL_CHECK(tab, ptr, hash_val, key, res, rebuilt_p) \
     do {							    \
-- 
cgit v1.2.1


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

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