ruby-changes:67509
From: S-H-GAMELINKS <ko1@a...>
Date: Tue, 31 Aug 2021 20:57:43 +0900 (JST)
Subject: [ruby-changes:67509] a826747ade (master): Remove unneeded comments in rational.c
https://git.ruby-lang.org/ruby.git/commit/?id=a826747ade From a826747ade4b6ae52ee9883120c1b1cd7aa98b3f Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS <gamelinks007@g...> Date: Sat, 8 May 2021 14:36:20 +0900 Subject: Remove unneeded comments in rational.c --- rational.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rational.c b/rational.c index b79809d..8fae9c7 100644 --- a/rational.c +++ b/rational.c @@ -1881,8 +1881,6 @@ nurat_marshal_load(VALUE self, VALUE a) https://github.com/ruby/ruby/blob/trunk/rational.c#L1881 return self; } -/* --- */ - VALUE rb_rational_reciprocal(VALUE x) { @@ -2814,8 +2812,6 @@ Init_Rational(void) https://github.com/ruby/ruby/blob/trunk/rational.c#L2812 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); -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/