From 1c7d33480070cfe737f4a40acdb812330c035d33 Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 7 Oct 2018 04:21:32 +0000 Subject: [PATCH] Fix indent of output in doc [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index c18cdaf58b..7300b4f985 100644 --- a/array.c +++ b/array.c @@ -4234,7 +4234,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2) * * It compares elements using their #hash and #eql? methods for efficiency. * - * [ 1, 1, 2, 2, 3, 3, 4, 5 ].difference([ 1, 2, 4 ]) #=> [ 3, 3, 5 ] + * [ 1, 1, 2, 2, 3, 3, 4, 5 ].difference([ 1, 2, 4 ]) #=> [ 3, 3, 5 ] * [ 1, 'c', :s, 'yep' ].difference([ 1 ], [ 'a', 'c' ]) #=> [:s, "yep"] * * If you need set-like behavior, see the library class Set.