summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
commitb9e0294edaceecb177401902f3809a45af666d7e (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /random.c
parentc30e32d075478c62580c7d3f5699c2c477503b41 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/random.c b/random.c
index d3451b83cd..849e07c413 100644
--- a/random.c
+++ b/random.c
@@ -970,7 +970,7 @@ float_value(VALUE v)
* prng.rand(5.0..9.0) # => between 5.0 and 9.0, including 9.0
* prng.rand(5.0...9.0) # => between 5.0 and 9.0, excluding 9.0
*
- * +begin+/+end+ of the range have to have subtruct and add methods.
+ * +begin+/+end+ of the range have to have subtract and add methods.
*
* Otherwise, it raises an ArgumentError.
*/