1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix reference in rb_enc_associate() description

This commit is contained in:
Lars Kanis 2022-02-08 12:18:56 +01:00 committed by Nobuyoshi Nakada
parent 347c3faf8e
commit eebc24218a
Notes: git 2022-03-01 10:12:20 +09:00

View file

@ -375,8 +375,8 @@ rb_encoding *rb_enc_check(VALUE str1,VALUE str2);
VALUE rb_enc_associate_index(VALUE obj, int encindex); VALUE rb_enc_associate_index(VALUE obj, int encindex);
/** /**
* Identical to rb_enc_associate(), except it takes an encoding itself instead * Identical to rb_enc_associate_index(), except it takes an encoding itself
* of its index. * instead of its index.
* *
* @param[out] obj Object in question. * @param[out] obj Object in question.
* @param[in] enc An encoding. * @param[in] enc An encoding.