ruby-changes:67576
From: S-H-GAMELINKS <ko1@a...>
Date: Fri, 3 Sep 2021 13:21:15 +0900 (JST)
Subject: [ruby-changes:67576] 250b86bbee (master): Remove unneeded comment
https://git.ruby-lang.org/ruby.git/commit/?id=250b86bbee From 250b86bbee0235574d7496afd548d6f97da83134 Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS <gamelinks007@g...> Date: Fri, 3 Sep 2021 12:50:17 +0900 Subject: Remove unneeded comment --- complex.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/complex.c b/complex.c index 0c50196..54690eb 100644 --- a/complex.c +++ b/complex.c @@ -1524,8 +1524,6 @@ nucomp_marshal_load(VALUE self, VALUE a) https://github.com/ruby/ruby/blob/trunk/complex.c#L1524 return self; } -/* --- */ - VALUE rb_complex_raw(VALUE x, VALUE y) { @@ -2148,8 +2146,6 @@ nucomp_s_convert(int argc, VALUE *argv, VALUE klass) https://github.com/ruby/ruby/blob/trunk/complex.c#L2146 return nucomp_convert(klass, a1, a2, TRUE); } -/* --- */ - /* * call-seq: * num.real -> self @@ -2404,8 +2400,6 @@ Init_Complex(void) https://github.com/ruby/ruby/blob/trunk/complex.c#L2400 rb_define_private_method(compat, "marshal_load", nucomp_marshal_load, 1); rb_marshal_define_compat(rb_cComplex, compat, nucomp_dumper, nucomp_loader); - /* --- */ - rb_define_method(rb_cComplex, "to_i", nucomp_to_i, 0); rb_define_method(rb_cComplex, "to_f", nucomp_to_f, 0); rb_define_method(rb_cComplex, "to_r", nucomp_to_r, 0); @@ -2418,8 +2412,6 @@ Init_Complex(void) https://github.com/ruby/ruby/blob/trunk/complex.c#L2412 rb_define_private_method(CLASS_OF(rb_cComplex), "convert", nucomp_s_convert, -1); - /* --- */ - rb_define_method(rb_cNumeric, "real", numeric_real, 0); rb_define_method(rb_cNumeric, "imaginary", numeric_imag, 0); rb_define_method(rb_cNumeric, "imag", numeric_imag, 0); -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/