From b536c6a849eb2e30ade30365eb4cfd17e0dcfb4a Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Mon, 19 Jan 2026 04:59:09 +0900 Subject: [DOC] Remove _emphasis_ in code blocks which is not handled as emphasis anymore (#15901) --- complex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'complex.c') diff --git a/complex.c b/complex.c index 7b6c6c2a99..85d724f273 100644 --- a/complex.c +++ b/complex.c @@ -1803,7 +1803,7 @@ rb_dbl_complex_new(double real, double imag) * Complex.rect(1, Rational(0, 1)).to_i # => 1 * * Raises RangeError if self.imag is not exactly zero - * (either Integer(0) or Rational(0, _n_)). + * (either Integer(0) or Rational(0, n)). */ static VALUE nucomp_to_i(VALUE self) @@ -1827,7 +1827,7 @@ nucomp_to_i(VALUE self) * Complex.rect(1, Rational(0, 1)).to_f # => 1.0 * * Raises RangeError if self.imag is not exactly zero - * (either Integer(0) or Rational(0, _n_)). + * (either Integer(0) or Rational(0, n)). */ static VALUE nucomp_to_f(VALUE self) @@ -1852,7 +1852,7 @@ nucomp_to_f(VALUE self) * Complex.rect(1, 0.0).to_r # => (1/1) * * Raises RangeError if self.imag is not exactly zero - * (either Integer(0) or Rational(0, _n_)) + * (either Integer(0) or Rational(0, n)) * and self.imag.to_r is not exactly zero. * * Related: Complex#rationalize. -- cgit v1.2.3