From: Peter Zhu Date: Wed, 2 Oct 2024 18:44:57 +0000 (-0400) Subject: [DOC] Fix indentation in documentation for Array#sort! X-Git-Tag: v3_4_0_preview2~88 X-Git-Url: https://repo.or.cz/ruby.git/commitdiff_plain/e7cf2e76398fb226bf87a80ca72599e0b621f668 [DOC] Fix indentation in documentation for Array#sort! --- diff --git a/array.c b/array.c index d68895827d..ffdae09e52 100644 --- a/array.c +++ b/array.c @@ -4489,10 +4489,10 @@ take_items(VALUE obj, long n) * * If an argument is not an array, it extracts the values by calling #each: * - * a = [:a0, :a1, :a2, :a2] - * b = 1..4 - * c = a.zip(b) - * c # => [[:a0, 1], [:a1, 2], [:a2, 3], [:a2, 4]] + * a = [:a0, :a1, :a2, :a2] + * b = 1..4 + * c = a.zip(b) + * c # => [[:a0, 1], [:a1, 2], [:a2, 3], [:a2, 4]] * * When a block is given, calls the block with each of the sub-arrays (formed as above); returns +nil+: *