From 6e65e04186edbf2b5be88cd30268d455a9c6fec5 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 12 Feb 2022 12:37:51 +0900 Subject: [PATCH] [DOC] Remove unnecessary `rdoc-ref:` schemes --- string.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/string.c b/string.c index 35615e464c..99269f62ba 100644 --- a/string.c +++ b/string.c @@ -3707,7 +3707,7 @@ static VALUE str_casecmp_p(VALUE str1, VALUE str2); * 'foo'.casecmp('FOO') # => 0 * 'foo'.casecmp(1) # => nil * - * See {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * See {Case Mapping}[case_mapping.rdoc]. * * Related: String#casecmp?. * @@ -3797,7 +3797,7 @@ str_casecmp(VALUE str1, VALUE str2) * * 'foo'.casecmp?(1) # => nil * - * See {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * See {Case Mapping}[case_mapping.rdoc]. * * Related: String#casecmp. * @@ -7170,7 +7170,7 @@ upcase_single(VALUE str) * s.upcase! # => nil * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#upcase, String#downcase, String#downcase!. * @@ -7209,7 +7209,7 @@ rb_str_upcase_bang(int argc, VALUE *argv, VALUE str) * s.upcase # => "HELLO WORLD!" * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#upcase!, String#downcase, String#downcase!. * @@ -7272,7 +7272,7 @@ downcase_single(VALUE str) * s.downcase! # => nil * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#downcase, String#upcase, String#upcase!. * @@ -7311,7 +7311,7 @@ rb_str_downcase_bang(int argc, VALUE *argv, VALUE str) * s.downcase # => "hello world!" * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#downcase!, String#upcase, String#upcase!. * @@ -7357,7 +7357,7 @@ rb_str_downcase(int argc, VALUE *argv, VALUE str) * s.capitalize! # => nil * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#capitalize. * @@ -7395,7 +7395,7 @@ rb_str_capitalize_bang(int argc, VALUE *argv, VALUE str) * s.capitalize # => "Hello world!" * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#capitalize!. * @@ -7436,7 +7436,7 @@ rb_str_capitalize(int argc, VALUE *argv, VALUE str) * ''.swapcase! # => nil * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#swapcase. * @@ -7473,7 +7473,7 @@ rb_str_swapcase_bang(int argc, VALUE *argv, VALUE str) * s.swapcase # => "hELLO wORLD!" * * The casing may be affected by the given +options+; - * see {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * see {Case Mapping}[case_mapping.rdoc]. * * Related: String#swapcase!. * @@ -11641,7 +11641,7 @@ sym_casecmp(VALUE sym, VALUE other) * sym.casecmp?(other_sym) # => nil * :foo.casecmp?(2) # => nil * - * See {Case Mapping}[rdoc-ref:case_mapping.rdoc]. + * See {Case Mapping}[case_mapping.rdoc]. * * Related: Symbol#casecmp. *