summaryrefslogtreecommitdiff
path: root/numeric.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 /numeric.c
parentbc5662d9d8909363e67e01f3b1a2eecb0793d3ee (diff)
downloadruby-16fdc1ff46effdfa995b7280e6474ff45fbfbf4e.tar.gz
[DOC] Fix broken links to literals.rdoc
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 216b33920c..b2f41a3f86 100644
--- a/numeric.c
+++ b/numeric.c
@@ -948,7 +948,7 @@ num_negative_p(VALUE num)
*
* You can create a \Float object explicitly with:
*
- * - A {floating-point literal}[doc/syntax/literals_rdoc.html#label-Float+Literals].
+ * - A {floating-point literal}[rdoc-ref:syntax/literals.rdoc@Float+Literals].
*
* You can convert certain objects to Floats with:
*
@@ -3482,7 +3482,7 @@ rb_num2ull(VALUE val)
*
* You can create an \Integer object explicitly with:
*
- * - An {integer literal}[doc/syntax/literals_rdoc.html#label-Integer+Literals].
+ * - An {integer literal}[rdoc-ref:syntax/literals.rdoc@Integer+Literals].
*
* You can convert certain objects to Integers with:
*