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

ruby-changes:65188

From: Nobuyoshi <ko1@a...>
Date: Mon, 8 Feb 2021 21:47:10 +0900 (JST)
Subject: [ruby-changes:65188] 4186cd6435 (master): Revert a part of "[DOC] refined" [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=4186cd6435

From 4186cd6435a58a9233ffe52f5d5ee6374d098883 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 8 Feb 2021 21:43:40 +0900
Subject: Revert a part of "[DOC] refined" [ci skip]

This reverts commit 478716f49a19cdd86f629c6a0673c1ff53630c96
partially -- "Removed unnecessary parentheses" part -- because of
a lambda, see 9e25eb308d4fae9a10e120c2b4601916cc38336c.
---
 ext/pty/pty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index 0e46c72..72074f7 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -464,7 +464,7 @@ pty_close_pty(VALUE assoc) https://github.com/ruby/ruby/blob/trunk/ext/pty/pty.c#L464
 /*
  * call-seq:
  *   PTY.open => [master_io, slave_file]
- *   PTY.open {|master_io, slave_file| ... } => block value
+ *   PTY.open {|(master_io, slave_file)| ... } => block value
  *
  * Allocates a pty (pseudo-terminal).
  *
-- 
cgit v1.1


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

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