aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-02-28 11:39:55 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-02-28 11:40:25 +0900
commit1cb67905337100015c6845cdb4be2bc2133014ea (patch)
tree1984ed4b7ab8675d417580cb7569ef9b46662472 /st.c
parentff3d7b720ec21e4856aac0b3c493bc78cbac83d4 (diff)
downloadruby-1cb67905337100015c6845cdb4be2bc2133014ea.tar.gz
st.c: Fix a typo in a comment
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
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 = {
#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 { \