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

ruby-changes:59648

From: Nobuyoshi <ko1@a...>
Date: Wed, 8 Jan 2020 19:20:15 +0900 (JST)
Subject: [ruby-changes:59648] b8fa18079d (master): Adjusted indents [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=b8fa18079d

From b8fa18079df01df41debc4dbc63e22ee98425b5e Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 8 Jan 2020 18:12:21 +0900
Subject: Adjusted indents [ci skip]


diff --git a/hash.c b/hash.c
index b6bc44e..d99d41a 100644
--- a/hash.c
+++ b/hash.c
@@ -1950,9 +1950,9 @@ rb_hash_default_value(VALUE hash, VALUE key) https://github.com/ruby/ruby/blob/trunk/hash.c#L1950
 	VALUE ifnone = RHASH_IFNONE(hash);
         if (!FL_TEST(hash, RHASH_PROC_DEFAULT)) return ifnone;
 	if (key == Qundef) return Qnil;
-      args[0] = hash;
-      args[1] = key;
-      return rb_proc_call_with_block(ifnone, 2, args, Qnil);
+        args[0] = hash;
+        args[1] = key;
+        return rb_proc_call_with_block(ifnone, 2, args, Qnil);
     }
     else {
 	return rb_funcall(hash, id_default, 1, key);
@@ -2127,7 +2127,7 @@ rb_hash_default(int argc, VALUE *argv, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L2127
 	if (argc == 0) return Qnil;
 	args[0] = hash;
 	args[1] = argv[0];
-      return rb_proc_call_with_block(ifnone, 2, args, Qnil);
+        return rb_proc_call_with_block(ifnone, 2, args, Qnil);
     }
     return ifnone;
 }
-- 
cgit v0.10.2


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

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