summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-12 07:40:43 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-12 07:40:43 (GMT)
commitb63391de2bb69ac488938769802615c840ebc320 (patch)
tree38a6417a0fb93966ddc7fc26c9098f5a351c7ceb /array.c
parent979eb19c2e68ca5cdfda8d54d36ecf8099c574d2 (diff)
array.c: typo
* array.c (rb_ary_bsearch_index): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 25048a4..ee7428f 100644
--- a/array.c
+++ b/array.c
@@ -2629,7 +2629,7 @@ rb_ary_bsearch_index(VALUE ary)
{
long index_result = ary_bsearch_index(ary);
- returns INT2FIX(index_result);
+ return INT2FIX(index_result);
}
static long