10000 typo · documenting-ruby/ruby@aa8b387 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa8b387

Browse files
committed
typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 6f83a60 commit aa8b387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@ rb_ary_equal(ary1, ary2)
15641564

15651565
if (ary1 == ary2) return Qtrue;
15661566
if (TYPE(ary2) != T_ARRAY) {
1567-
if (!rb_respond_to(ary2, rb_intern("to_str"))) {
1567+
if (!rb_respond_to(ary2, rb_intern("to_ary"))) {
15681568
return Qfalse;
15691569
}
15701570
return rb_equal(ary2, ary1);

0 commit comments

Comments
 (0)
0