summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
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