summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-08 01:26:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-02-08 01:27:52 +0900
commit16fdc1ff46effdfa995b7280e6474ff45fbfbf4e (patch)
tree861b0a7de4ef4d7bb5cd9cc47c75fc106f0694d3 /string.c
parentbc5662d9d8909363e67e01f3b1a2eecb0793d3ee (diff)
[DOC] Fix broken links to literals.rdoc
Diffstat (limited to 'string.c')
-rw-r--r--string.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/string.c b/string.c
index e52812af16..aafed18549 100644
--- a/string.c
+++ b/string.c
@@ -11234,7 +11234,7 @@ rb_str_unicode_normalized_p(int argc, VALUE *argv, VALUE str)
*
* You can create a \Symbol object explicitly with:
*
- * - A {symbol literal}[doc/syntax/literals_rdoc.html#label-Symbol+Literals].
+ * - A {symbol literal}[rdoc-ref:syntax/literals.rdoc@Symbol+Literals].
*
* The same Symbol object will be
* created for a given name or string for the duration of a program's
@@ -11960,8 +11960,8 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc)
*
* You can create a \String object explicitly with:
*
- * - A {string literal}[doc/syntax/literals_rdoc.html#label-String+Literals].
- * - A {heredoc literal}[doc/syntax/literals_rdoc.html#label-Here+Document+Literals].
+ * - A {string literal}[rdoc-ref:syntax/literals.rdoc@String+Literals].
+ * - A {heredoc literal}[rdoc-ref:syntax/literals.rdoc@Here+Document+Literals].
*
* You can convert certain objects to Strings with:
*
@@ -12051,7 +12051,7 @@ rb_enc_interned_str_cstr(const char *ptr, rb_encoding *enc)
* Note that <tt>\\\\</tt> is interpreted as an escape, i.e., a single backslash.
*
* Note also that a string literal consumes backslashes.
- * See {String Literals}[doc/syntax/literals_rdoc.html#label-String+Literals] for details about string literals.
+ * See {String Literals}[rdoc-ref:syntax/literals.rdoc@String+Literals] for details about string literals.
*
* A back-reference is typically preceded by an additional backslash.
* For example, if you want to write a back-reference <tt>\&</tt> in