Skip to content

Commit 41a9460

Browse files
committed
[DOC] Fix typo in comment for STR_PRECOMPUTED_HASH
1 parent 3b7892b commit 41a9460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ VALUE rb_cSymbol;
9494
* The string was allocated by the `Symbol#to_s` method.
9595
* It emits a deprecation warning when mutated for the first time.
9696
* 4: STR_PRECOMPUTED_HASH
97-
* The string is embedded and has its precomputed hascode stored
97+
* The string is embedded and has its precomputed hashcode stored
9898
* after the terminator.
9999
* 5: STR_SHARED_ROOT
100100
* Other strings may point to the contents of this string. When this

0 commit comments

Comments
 (0)