aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-26 12:29:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-26 12:29:41 +0000
commit68c661b8e5345cb7643e88febd9ca0dc17726175 (patch)
tree6828f7f7c7541cd8a93545f031e0bc300c296337
parent06ca50338b15d2931c0fa04faa718d00e71092f7 (diff)
downloadruby-68c661b8e5345cb7643e88febd9ca0dc17726175.tar.gz
[DOC] update Integer#<< doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--bignum.c7
-rw-r--r--numeric.c4
2 files changed, 2 insertions, 9 deletions
diff --git a/bignum.c b/bignum.c
index db63e0160c..61ef401098 100644
--- a/bignum.c
+++ b/bignum.c
@@ -6711,13 +6711,6 @@ rb_big_xor(VALUE x, VALUE y)
return bignorm(z);
}
-/*
- * call-seq:
- * big << numeric -> integer
- *
- * Shifts big left _numeric_ positions (right if _numeric_ is negative).
- */
-
VALUE
rb_big_lshift(VALUE x, VALUE y)
{
diff --git a/numeric.c b/numeric.c
index 36432b27b4..6bb713a7ef 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3963,9 +3963,9 @@ fix_lshift(long val, unsigned long width)
/*
* call-seq:
- * fix << count -> integer
+ * int << count -> integer
*
- * Shifts +fix+ left +count+ positions, or right if +count+ is negative.
+ * Shifts +int+ left +count+ positions, or right if +count+ is negative.
*/
static VALUE