From eebc24218af66befb215f6c713e4f68f9c4db715 Mon Sep 17 00:00:00 2001 From: Lars Kanis Date: Tue, 8 Feb 2022 12:18:56 +0100 Subject: [PATCH] [DOC] Fix reference in rb_enc_associate() description --- include/ruby/internal/encoding/encoding.h | 4 ++-- 1 file 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.