summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2023-08-13 16:53:57 -0700
committerJohn Hawthorn <john@hawthorn.email>2023-09-16 11:29:40 -0700
commit380b42fe6a38e5addaf5615c4d236a3a0ffea54f (patch)
tree55b6931bde2b681fccc62100103aabef6f644a56 /include
parent4aac7b1a9a3696ee06d193061a893e5290b79124 (diff)
Fix comment for rb_enc_str_new [ci skip]
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/encoding/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/encoding/string.h b/include/ruby/internal/encoding/string.h
index 6ed7ca1c90..2b9dfe4f31 100644
--- a/include/ruby/internal/encoding/string.h
+++ b/include/ruby/internal/encoding/string.h
@@ -30,7 +30,7 @@
RBIMPL_SYMBOL_EXPORT_BEGIN()
/**
- * Identical to rb_enc_str_new(), except it additionally takes an encoding.
+ * Identical to rb_str_new(), except it additionally takes an encoding.
*
* @param[in] ptr A memory region of `len` bytes length.
* @param[in] len Length of `ptr`, in bytes, not including the