[DOC] Fix indentation in documentation for Array#sort!
authorPeter Zhu <[email protected]>
Wed, 2 Oct 2024 18:44:57 +0000 (2 14:44 -0400)
committerPeter Zhu <[email protected]>
Wed, 2 Oct 2024 18:44:57 +0000 (2 14:44 -0400)
array.c

diff --git a/array.c b/array.c
index d688958..ffdae09 100644 (file)
--- 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+:
  *