summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-11-20 11:16:10 -0500
committerPeter Zhu <[email protected]>2024-11-20 11:16:10 -0500
commit41a9460227f67b274e61c2fc48df8b92ed0884e4 (patch)
tree3f0a553cf96d5c4dad193705b5e082341310500b /string.c
parent3b7892b6e4d1a1a5d6019987f9b46ed443dd104f (diff)
[DOC] Fix typo in comment for STR_PRECOMPUTED_HASH
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
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