summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-08 03:57:54 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-08 03:57:54 +0000
commitb0c719dae4b448fbbbf384f8d9728012fefa29b3 (patch)
tree28d0156d338d246e48f671b368748ba38a700980 /ext/io
parenta6f372d1295a5f6a4afe05097ebe77d41ee82425 (diff)
Fix typos in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/console/console.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index dc989cc..04cf9e3 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -308,10 +308,9 @@ ttymode(VALUE io, VALUE (*func)(VALUE), void (*setter)(conmode *, void *), void
* will read and return a line without echo back and line editing.
*
* The parameter +min+ specifies the minimum number of bytes that
- * should be received when the read operation is performed. (default:
- * 1)
+ * should be received when a read operation is performed. (default: 1)
*
- * The paramter +time+ specifies the timeout in _seconds_, with a
+ * The parameter +time+ specifies the timeout in _seconds_ with a
* precision of 1/10 of a second. (default: 0)
*
* Refer to the manual page of termios for further details.