From 41a9460227f67b274e61c2fc48df8b92ed0884e4 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 20 Nov 2024 11:16:10 -0500 Subject: [PATCH] [DOC] Fix typo in comment for STR_PRECOMPUTED_HASH --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index 99e236d12a..d20bcbde95 100644 --- a/string.c +++ b/string.c @@ -94,7 +94,7 @@ VALUE rb_cSymbol; * The string was allocated by the `Symbol#to_s` method. * It emits a deprecation warning when mutated for the first time. * 4: STR_PRECOMPUTED_HASH - * The string is embedded and has its precomputed hascode stored + * The string is embedded and has its precomputed hashcode stored * after the terminator. * 5: STR_SHARED_ROOT * Other strings may point to the contents of this string. When this