summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2024-09-01 16:09:30 +0100
committerPeter Zhu <[email protected]>2024-09-10 14:02:23 -0400
commitbd9fa014e39b1d805cedcce43052234136ff8b95 (patch)
tree6192503448f562b3d6c5f24a1ab12864ff54e890
parent3d09242cc411283dc972564961fdff5fc0b8e56d (diff)
[DOC] Related for Array bsearch methods
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11525
-rw-r--r--array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/array.c b/array.c
index c48ffc62bb..78963e5e05 100644
--- a/array.c
+++ b/array.c
@@ -3559,6 +3559,8 @@ static VALUE rb_ary_bsearch_index(VALUE ary);
* or +nil+ if the search found no suitable element.
*
* See {Binary Searching}[rdoc-ref:bsearch.rdoc].
+ *
+ * Related: see {Methods for Fetching}[rdoc-ref:Array@Methods+for+Fetching].
*/
static VALUE
@@ -3581,6 +3583,8 @@ rb_ary_bsearch(VALUE ary)
* or +nil+ if the search found no suitable element.
*
* See {Binary Searching}[rdoc-ref:bsearch.rdoc].
+ *
+ * Related: see {Methods for Fetching}[rdoc-ref:Array@Methods+for+Fetching].
*/
static VALUE