[前][次][番号順一覧][スレッド一覧]

ruby-changes:52718

From: kazu <ko1@a...>
Date: Sun, 7 Oct 2018 13:21:36 +0900 (JST)
Subject: [ruby-changes:52718] kazu:r64930 (trunk): Fix indent of output in doc [ci skip]

kazu	2018-10-07 13:21:32 +0900 (Sun, 07 Oct 2018)

  New Revision: 64930

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64930

  Log:
    Fix indent of output in doc [ci skip]

  Modified files:
    trunk/array.c
Index: array.c
===================================================================
--- array.c	(revision 64929)
+++ array.c	(revision 64930)
@@ -4234,7 +4234,7 @@ rb_ary_diff(VALUE ary1, VALUE ary2) https://github.com/ruby/ruby/blob/trunk/array.c#L4234
  *
  *  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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]