ruby-changes:55597
From: git <ko1@a...>
Date: Sun, 28 Apr 2019 23:42:58 +0900 (JST)
Subject: [ruby-changes:55597] git:555d1dda71 (trunk): * expand tabs.
https://git.ruby-lang.org/ruby.git/commit/?id=555d1dda71 From 555d1dda71a3cd1ac954c4d41d523562721cde8d Mon Sep 17 00:00:00 2001 From: git <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Sun, 28 Apr 2019 23:42:46 +0900 Subject: * expand tabs. diff --git a/numeric.c b/numeric.c index b5b62ae..bb8b749 100644 --- a/numeric.c +++ b/numeric.c @@ -4670,7 +4670,7 @@ compare_indexes(VALUE a, VALUE b) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4670 VALUE r = rb_funcall(a, id_cmp, 1, b); if (NIL_P(r)) - return INT_MAX; + return INT_MAX; return rb_cmpint(r, a, b); } @@ -4722,10 +4722,10 @@ int_aref1(VALUE num, VALUE arg) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4722 one_bit: if (FIXNUM_P(num)) { - return fix_aref(num, arg); + return fix_aref(num, arg); } else if (RB_TYPE_P(num, T_BIGNUM)) { - return rb_big_aref(num, arg); + return rb_big_aref(num, arg); } return Qnil; } @@ -4782,7 +4782,7 @@ int_aref(int const argc, VALUE * const argv, VALUE const num) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4782 { rb_check_arity(argc, 1, 2); if (argc == 2) { - return int_aref2(num, argv[0], argv[1]); + return int_aref2(num, argv[0], argv[1]); } return int_aref1(num, argv[0]); -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/