summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-14 16:46:58 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-14 16:46:58 +0000
commitf10a13484a39c20f8078526863cb1a3a2f5f8d4c (patch)
treecc1e26411ae37442710b4b5f74dd2464fe1eecbf /error.c
parent5c5b64c60bf88adfbf1da527c4f0d62cdc61a610 (diff)
error.c: [DOC] minor fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 4606470080..92c35d5d67 100644
--- a/error.c
+++ b/error.c
@@ -325,7 +325,7 @@ warning_write(int argc, VALUE *argv, VALUE buf)
* warning 1
* warning 2
*
- * If the <code>:uplevel</code> keyword is given, the string will
+ * If the <code>uplevel</code> keyword argument is given, the string will
* be prepended with information for the given caller frame in
* the same format used by the <code>rb_warn</code> C function.
*
@@ -1090,7 +1090,7 @@ exc_message(VALUE exc)
* call-seq:
* exception.inspect -> string
*
- * Return this exception's class name and message
+ * Return this exception's class name and message.
*/
static VALUE