summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-15 09:39:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-09-15 14:16:14 +0900
commita27c274f0476fa270b9e2f5d4f4ec36bd8c0b61a (patch)
treee202f380fea411791140223c7bd9d4ff0a2509f9 /array.c
parent63ab2fedc86e463cb5132e19c285f5c3442ca5f7 (diff)
[DOC] Fix broken links [ci skip]
* As the "doc/" prefix is specified by the `--page-dir` option, remove from the rdoc references. * Refer to the original .rdoc instead of the converted .html.
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index d3eb7ce6d2..63d63aa17f 100644
--- a/array.c
+++ b/array.c
@@ -3423,7 +3423,7 @@ static VALUE rb_ary_bsearch_index(VALUE ary);
*
* Returns an element from +self+ selected by a binary search.
*
- * See {Binary Searching}[doc/bsearch_rdoc.html].
+ * See {Binary Searching}[rdoc-ref:bsearch.rdoc].
*/
static VALUE
@@ -7628,7 +7628,7 @@ rb_ary_one_p(int argc, VALUE *argv, VALUE ary)
* Finds and returns the object in nested objects
* that is specified by +index+ and +identifiers+.
* The nested objects may be instances of various classes.
- * See {Dig Methods}[rdoc-ref:doc/dig_methods.rdoc].
+ * See {Dig Methods}[rdoc-ref:dig_methods.rdoc].
*
* Examples:
* a = [:foo, [:bar, :baz, [:bat, :bam]]]