1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unneeded comments in rational.c

This commit is contained in:
S-H-GAMELINKS 2021-05-08 14:36:20 +09:00 committed by Hiroshi SHIBATA
parent b6691e9737
commit a826747ade
Notes: git 2021-08-31 20:57:52 +09:00

View file

@ -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);