summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-03 13:33:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-03 13:39:07 +0900
commit7f7f07a60015a4b907fab99b920f19e746fe10f9 (patch)
tree92b49393500cb319f734189746e6ec46356f838d
parent5ef9f7a8213c5963cea8b0b0d731884a60d0c166 (diff)
[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.
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
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)
{