summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 06:43:32 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-31 06:43:32 +0000
commit5088b14db79eb112f55ea983c45e3724ab9251d4 (patch)
tree7ebffca7ebb8051af0d9cc1c5adbada1089baba3 /error.c
parente21907e0f89e9d4870d1b533364cbc79dd9b6d89 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14811 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 25ddb344a0..5b60494275 100644
--- a/error.c
+++ b/error.c
@@ -667,7 +667,7 @@ name_err_name(VALUE self)
* call-seq:
* name_error.to_s => string
*
- * Produce a nicely-formated string representing the +NameError+.
+ * Produce a nicely-formatted string representing the +NameError+.
*/
static VALUE
@@ -993,7 +993,7 @@ errno_missing(VALUE self, VALUE id)
}
/*
- * Descendents of class <code>Exception</code> are used to communicate
+ * Descendants of class <code>Exception</code> are used to communicate
* between <code>raise</code> methods and <code>rescue</code>
* statements in <code>begin/end</code> blocks. <code>Exception</code>
* objects carry information about the exception---its type (the