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

ruby-changes:64735

From: Kazuhiro <ko1@a...>
Date: Tue, 5 Jan 2021 00:22:13 +0900 (JST)
Subject: [ruby-changes:64735] 3fee9e7021 (master): Fix indent [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=3fee9e7021

From 3fee9e70219fb5e6c896b302d497f8610e4abf0a Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Tue, 5 Jan 2021 00:19:48 +0900
Subject: Fix indent [ci skip]

Suggested by @hanachin at
https://github.com/rurema/doctree/pull/2425#discussion_r551327592

diff --git a/enum.c b/enum.c
index e9cac3e..f1f0e13 100644
--- a/enum.c
+++ b/enum.c
@@ -4196,10 +4196,10 @@ compact_i(RB_BLOCK_CALL_FUNC_ARGLIST(i, ary)) https://github.com/ruby/ruby/blob/trunk/enum.c#L4196
  *  Returns an array of all non-+nil+ elements from enumeration.
  *
  *      def with_nils
- *          yield 1
- *          yield 2
- *          yield nil
- *          yield 3
+ *        yield 1
+ *        yield 2
+ *        yield nil
+ *        yield 3
  *      end
  *
  *      to_enum(:with_nils).compact
-- 
cgit v0.10.2


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

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