summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-05 06:23:37 (GMT)
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-05 06:23:37 (GMT)
commitd7bd45897b90f2018e61bab9294237ced48dd06e (patch)
tree9b84dde50ed7d1b6d745ea58242979b6f1d4be5f /array.c
parentd65d5533ab117b46211917450293f9c602519375 (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/array.c b/array.c
index 8a1eed7..c18cdaf 100644
--- a/array.c
+++ b/array.c
@@ -4253,22 +4253,22 @@ rb_ary_difference_multi(int argc, VALUE *argv, VALUE ary)
length = RARRAY_LEN(ary);
for (i = 0; i < argc; i++) {
- argv[i] = to_ary(argv[i]);
- is_hash[i] = (length > SMALL_ARRAY_LEN && RARRAY_LEN(argv[i]) > SMALL_ARRAY_LEN);
- if (is_hash[i]) argv[i] = ary_make_hash(argv[i]);
+ argv[i] = to_ary(argv[i]);
+ is_hash[i] = (length > SMALL_ARRAY_LEN && RARRAY_LEN(argv[i]) > SMALL_ARRAY_LEN);
+ if (is_hash[i]) argv[i] = ary_make_hash(argv[i]);
}
for (i = 0; i < RARRAY_LEN(ary); i++) {
- int j;
- VALUE elt = rb_ary_elt(ary, i);
- for (j = 0; j < argc; j++){
- if (is_hash[j]) {
- if (st_lookup(rb_hash_tbl_raw(argv[j]), RARRAY_AREF(ary, i), 0))
- break;
+ int j;
+ VALUE elt = rb_ary_elt(ary, i);
+ for (j = 0; j < argc; j++){
+ if (is_hash[j]) {
+ if (st_lookup(rb_hash_tbl_raw(argv[j]), RARRAY_AREF(ary, i), 0))
+ break;
}
else {
- if (rb_ary_includes_by_eql(argv[j], elt)) break;
- }
+ if (rb_ary_includes_by_eql(argv[j], elt)) break;
+ }
}
if (j == argc) rb_ary_push(ary_diff, elt);
}