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:
parent
b6691e9737
commit
a826747ade
Notes:
git
2021-08-31 20:57:52 +09:00
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue