summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 04:21:32 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 04:21:32 +0000
commit1c7d33480070cfe737f4a40acdb812330c035d33 (patch)
tree3e949d3304c68bd313fbddff782dac8b4cba6a3a /array.c
parente889fad86c848a15897e246d92a1b8a8d7baaeb5 (diff)
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
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
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.