summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@users.noreply.github.com>2023-02-28 03:56:06 +1000
committerGitHub <noreply@github.com>2023-02-27 09:56:06 -0800
commit2f7270c68150d9f49b48c8ff995f4f343d216cee (patch)
treed3610c4a0980667982cdd4952572ba1a7d583046 /string.c
parent526111290b2e01e798f436dfe4acc3bf10c6bbd1 (diff)
downloadruby-2f7270c68150d9f49b48c8ff995f4f343d216cee.tar.gz
Fix spelling (#7389)
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;