summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-04-13 10:42:46 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-04-13 10:43:23 -0400
commit54b53e2c8fc06e708232e399e3970fd0ecc5c4a5 (patch)
tree52b024d12a46cf401657b54ec7d96742e8991345 /io.c
parentdf1594e4b5100cef0ec0b5cf6a065f11634b26b2 (diff)
downloadruby-54b53e2c8fc06e708232e399e3970fd0ecc5c4a5.tar.gz
[ci skip] Fix docs
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 32704d9d17..3fe1f6eb16 100644
--- a/io.c
+++ b/io.c
@@ -7524,7 +7524,7 @@ static VALUE popen_finish(VALUE port, VALUE klass);
*
* - <tt>cmd[0][0]</tt> (the first string in the nested array) is the name of a program that is run.
* - <tt>cmd[0][1]</tt> (the second string in the nested array) is set as the program's <tt>argv[0]</tt>.
- * - <tt>cmd[1..-1] (the strings in the outer array) are the program's arguments.
+ * - <tt>cmd[1..-1]</tt> (the strings in the outer array) are the program's arguments.
*
* Example (sets <tt>$0</tt> to 'foo'):
*