summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2023-08-01 14:20:05 -0400
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-08-23 13:09:18 +0900
commitb92d599eec432eb6c83d1d2b13109924aebd0ac7 (patch)
tree595a10c1eed33b7304b7f268d4d6d52a57860eb6 /gc.c
parent00054de6b5ca65f87ca561f31daeb094442638fc (diff)
Fix typo in anonymous class string
If anonymous was shorted it should be `anon` not `annon`. Fixes typo in APPEND_S for anonymous classes.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8154
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
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;
}