aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-13 13:28:47 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-13 13:28:47 +0900
commit86db7a1cb87bc7cde49df2bac82d91ccdc514509 (patch)
treeeba66e1e88623ff7c9ba3f14b50b0d66653d1c0c /io.c
parent3785049c9f2eb1601c6e1365b9fe7cf1964352b8 (diff)
downloadruby-86db7a1cb87bc7cde49df2bac82d91ccdc514509.tar.gz
[DOC] Fix typos
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index d0af749231..fb822f0f58 100644
--- a/io.c
+++ b/io.c
@@ -11654,9 +11654,9 @@ pipe_pair_close(VALUE rw)
* IO.pipe(**opts) -> [read_io, write_io]
* IO.pipe(enc, **opts) -> [read_io, write_io]
* IO.pipe(ext_enc, int_enc, **opts) -> [read_io, write_io]
- * IO.pipe(**opts) {|read_io, write_io] ...} -> object
- * IO.pipe(enc, **opts) {|read_io, write_io] ...} -> object
- * IO.pipe(ext_enc, int_enc, **opts) {|read_io, write_io] ...} -> object
+ * IO.pipe(**opts) {|read_io, write_io| ...} -> object
+ * IO.pipe(enc, **opts) {|read_io, write_io| ...} -> object
+ * IO.pipe(ext_enc, int_enc, **opts) {|read_io, write_io| ...} -> object
*
* Creates a pair of pipe endpoints, +read_io+ and +write_io+,
* connected to each other.