From 804d153e32737ec5156e763211ae54d8fe675a09 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 26 Apr 2016 12:29:41 +0000 Subject: [DOC] update Integer#<< doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 7 ------- numeric.c | 4 ++-- 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 -- cgit v1.2.3