Skip to content

Commit eebc242

Browse files
larskanisnobu
authored andcommitted
[DOC] Fix reference in rb_enc_associate() description
1 parent 347c3fa commit eebc242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ruby/internal/encoding/encoding.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ rb_encoding *rb_enc_check(VALUE str1,VALUE str2);
375375
VALUE rb_enc_associate_index(VALUE obj, int encindex);
376376

377377
/**
378-
* Identical to rb_enc_associate(), except it takes an encoding itself instead
379-
* of its index.
378+
* Identical to rb_enc_associate_index(), except it takes an encoding itself
379+
* instead of its index.
380380
*
381381
* @param[out] obj Object in question.
382382
* @param[in] enc An encoding.

0 commit comments

Comments
 (0)