summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/string.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-11-02 18:29:53 +0900
committerNobuyoshi Nakada <[email protected]>2021-11-02 19:17:37 +0900
commita2024081805af4e729bea029abb7bbe7c383dce2 (patch)
treea7a46007a44e6ca541980aaa9bd65950d9f277c6 /include/ruby/internal/encoding/string.h
parentc2dcaa73626ab7a44dcc357d9751d9e2285d56ba (diff)
Fix typos
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
-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 f8ce809199..6ed7ca1c90 100644
--- a/include/ruby/internal/encoding/string.h
+++ b/include/ruby/internal/encoding/string.h
@@ -190,7 +190,7 @@ VALUE rb_enc_str_buf_cat(VALUE str, const char *ptr, long len, rb_encoding *enc)
* In other languages, APIs like this one could be seen as the primitive
* routines where encodings' "encode" feature are implemented. However in case
* of Ruby this is not the primitive one. We directly manipulate encoded
- * strings. Encoding conversion routines transocde an encoded string directly
+ * strings. Encoding conversion routines transcode an encoded string directly
* to another one; not via a code point array.
*/
VALUE rb_enc_uint_chr(unsigned int code, rb_encoding *enc);