[前][次][番号順一覧][スレッド一覧]

ruby-changes:38760

From: nobu <ko1@a...>
Date: Fri, 12 Jun 2015 16:41:15 +0900 (JST)
Subject: [ruby-changes:38760] nobu:r50841 (trunk): array.c: typo

nobu	2015-06-12 16:40:43 +0900 (Fri, 12 Jun 2015)

  New Revision: 50841

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50841

  Log:
    array.c: typo
    
    * array.c (rb_ary_bsearch_index): fix typo.

  Modified files:
    trunk/array.c
Index: array.c
===================================================================
--- array.c	(revision 50840)
+++ array.c	(revision 50841)
@@ -2629,7 +2629,7 @@ rb_ary_bsearch_index(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L2629
 {
     long index_result = ary_bsearch_index(ary);
 
-    returns INT2FIX(index_result);
+    return INT2FIX(index_result);
 }
 
 static long

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]