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 eefa6f397c..6fd5866336 100644
--- a/string.c
+++ b/string.c
@@ -333,7 +333,7 @@ rb_str_update_shared_ary(VALUE str, VALUE old_root, VALUE new_root)
return;
}
- // if the root string isn't embedded, we don't need to touch the ponter.
+ // if the root string isn't embedded, we don't need to touch the pointer.
// it already points to the shame shared buffer
if (!STR_EMBED_P(new_root)) {
return;