[前][次][番号順一覧][スレッド一覧]

ruby-changes:71300

From: Lars <ko1@a...>
Date: Tue, 1 Mar 2022 10:12:11 +0900 (JST)
Subject: [ruby-changes:71300] eebc24218a (master): [DOC] Fix reference in rb_enc_associate() description

https://git.ruby-lang.org/ruby.git/commit/?id=eebc24218a

From eebc24218af66befb215f6c713e4f68f9c4db715 Mon Sep 17 00:00:00 2001
From: Lars Kanis <lars@g...>
Date: Tue, 8 Feb 2022 12:18:56 +0100
Subject: [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); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/encoding/encoding.h#L375
 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.
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]