summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 20:50:55 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-29 20:50:55 +0000
commit3d58c86f64575a837c32fa019c6a1b7a5c43a2b9 (patch)
treee3f8aa406add10abe6d8141ce545cdc664bf87c3 /complex.c
parent55fd3e15b14310c78c8e8300247400f59f68653e (diff)
complex.c: doc fix
* complex.c: [DOC] fix grammar and typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index b340a55502..cee9770f67 100644
--- a/complex.c
+++ b/complex.c
@@ -1353,8 +1353,8 @@ nucomp_inspect(VALUE self)
* call-seq:
* cmp.finite? -> true or false
*
- * Returns +true+ if +cmp+'s magnitude is finite number,
- * oterwise returns +false+.
+ * Returns +true+ if +cmp+'s magnitude is a finite number,
+ * otherwise returns +false+.
*/
static VALUE
rb_complex_finite_p(VALUE self)