summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorgit <svn-admin@ruby-lang.org>2023-04-19 00:16:36 +0000
committergit <svn-admin@ruby-lang.org>2023-04-19 00:16:36 +0000
commit21082eac50d35e0c54a85066a3609c7b5063c0f7 (patch)
treea008421ab73a0186b1ed01f874d2dd22b3b6c5d5 /array.c
parentbdffcd6df30d7f21cf1a3a174672e82074800451 (diff)
* expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook.
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index b3b334dd68..1eb1f1ced9 100644
--- a/array.c
+++ b/array.c
@@ -5360,8 +5360,8 @@ rb_ary_hash_values(long len, const VALUE *elements)
h = rb_hash_start(len);
h = rb_hash_uint(h, (st_index_t)rb_ary_hash_values);
for (i=0; i<len; i++) {
- n = rb_hash(elements[i]);
- h = rb_hash_uint(h, NUM2LONG(n));
+ n = rb_hash(elements[i]);
+ h = rb_hash_uint(h, NUM2LONG(n));
}
h = rb_hash_end(h);
return ST2FIX(h);