summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/encoding.h
diff options
context:
space:
mode:
authorLars Kanis <[email protected]>2022-02-08 12:18:56 +0100
committerNobuyoshi Nakada <[email protected]>2022-03-01 10:11:59 +0900
commiteebc24218af66befb215f6c713e4f68f9c4db715 (patch)
treedb66634df28c7508bbad047f2d69341ab5a2d7b3 /include/ruby/internal/encoding/encoding.h
parent347c3faf8eba55cdb09861c29f8646d78053fa5c (diff)
[DOC] Fix reference in rb_enc_associate() description
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5534
Diffstat (limited to 'include/ruby/internal/encoding/encoding.h')
-rw-r--r--include/ruby/internal/encoding/encoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/internal/encoding/encoding.h b/include/ruby/internal/encoding/encoding.h
index 9208d27ecf..22deb8f8c9 100644
--- a/include/ruby/internal/encoding/encoding.h
+++ b/include/ruby/internal/encoding/encoding.h
@@ -375,8 +375,8 @@ rb_encoding *rb_enc_check(VALUE str1,VALUE str2);
VALUE rb_enc_associate_index(VALUE obj, int encindex);
/**
- * Identical to rb_enc_associate(), except it takes an encoding itself instead
- * of its index.
+ * Identical to rb_enc_associate_index(), except it takes an encoding itself
+ * instead of its index.
*
* @param[out] obj Object in question.
* @param[in] enc An encoding.