summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 13:39:50 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-02 13:39:50 +0000
commit6f617028a45a00d89f9efa85fe8705eccc297355 (patch)
treead7d293facc2a4b36612cf2800a6fe881ddea9d5 /range.c
parent7e53569b1d81d50b20f66181a038fda6d8372d3f (diff)
merge revision(s) 41026: [Backport #8242]
* range.c: Fix rdoc on Range#bsearch [Bug #8242] [ruby-core:54143] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/range.c b/range.c
index dd94e8d747..e2e8388c43 100644
--- a/range.c
+++ b/range.c
@@ -512,10 +512,10 @@ is_integer_p(VALUE v)
* rng.bsearch {|obj| block } -> value
*
* By using binary search, finds a value in range which meets the given
- * condition in O(log n) where n is the size of the array.
+ * condition in O(log n) where n is the size of the range.
*
* You can use this method in two use cases: a find-minimum mode and
- * a find-any mode. In either case, the elements of the array must be
+ * a find-any mode. In either case, the elements of the range must be
* monotone (or sorted) with respect to the block.
*
* In find-minimum mode (this is a good choice for typical use case),