summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
authorS-H-GAMELINKS <gamelinks007@gmail.com>2021-05-08 14:36:20 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-31 20:57:33 +0900
commita826747ade4b6ae52ee9883120c1b1cd7aa98b3f (patch)
treed18c42e40ea4acf17d1c0907121a0a3539ec65e4 /rational.c
parentb6691e97374011dce31153295f47b617d7e2819b (diff)
downloadruby-a826747ade4b6ae52ee9883120c1b1cd7aa98b3f.tar.gz
Remove unneeded comments in rational.c
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rational.c b/rational.c
index b79809dc0e..8fae9c72e0 100644
--- a/rational.c
+++ b/rational.c
@@ -1881,8 +1881,6 @@ nurat_marshal_load(VALUE self, VALUE a)
return self;
}
-/* --- */
-
VALUE
rb_rational_reciprocal(VALUE x)
{
@@ -2814,8 +2812,6 @@ Init_Rational(void)
rb_define_private_method(compat, "marshal_load", nurat_marshal_load, 1);
rb_marshal_define_compat(rb_cRational, compat, nurat_dumper, nurat_loader);
- /* --- */
-
rb_define_method(rb_cInteger, "gcd", rb_gcd, 1);
rb_define_method(rb_cInteger, "lcm", rb_lcm, 1);
rb_define_method(rb_cInteger, "gcdlcm", rb_gcdlcm, 1);