From b92d599eec432eb6c83d1d2b13109924aebd0ac7 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Tue, 1 Aug 2023 14:20:05 -0400 Subject: [PATCH] Fix typo in anonymous class string If anonymous was shorted it should be `anon` not `annon`. Fixes typo in APPEND_S for anonymous classes. --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 361b1ee70e..d8063a5cbd 100644 --- a/gc.c +++ b/gc.c @@ -13441,7 +13441,7 @@ rb_raw_obj_info_buitin_type(char *const buff, const size_t buff_size, const VALU APPEND_F("%s", RSTRING_PTR(class_path)); } else { - APPEND_S("(annon)"); + APPEND_S("(anon)"); } break; }