From 7f7f07a60015a4b907fab99b920f19e746fe10f9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 3 Mar 2022 13:33:50 +0900 Subject: [DOC] mark `rb_str_init` as `:nodoc:` Otherwise, an empty entry will be generated as `String::new` along with the one from doc/string.rb. --- string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/string.c b/string.c index 55cdace9f8..e8ac779053 100644 --- a/string.c +++ b/string.c @@ -1810,6 +1810,7 @@ rb_ec_str_resurrect(struct rb_execution_context_struct *ec, VALUE str) return ec_str_duplicate(ec, rb_cString, str); } +/* :nodoc: documented in doc/string.rdoc */ static VALUE rb_str_init(int argc, VALUE *argv, VALUE str) { -- cgit v1.2.3