From 380b42fe6a38e5addaf5615c4d236a3a0ffea54f Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sun, 13 Aug 2023 16:53:57 -0700 Subject: Fix comment for rb_enc_str_new [ci skip] --- include/ruby/internal/encoding/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby/internal/encoding') 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 -- cgit v1.2.3