From 550a49c913f67aba8b89bccd8e4b3296a5c3f599 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 26 Dec 2023 10:48:48 -0500 Subject: [PATCH] [DOC] Fix documentation for Numeric#eql? +==+ does not format properly, so we should use == instead. --- numeric.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numeric.c b/numeric.c index d56cf18ff2..b1fe7e6274 100644 --- a/numeric.c +++ b/numeric.c @@ -1550,8 +1550,8 @@ rb_float_pow(VALUE x, VALUE y) * 1.eql?(Rational(1, 1)) # => false * 1.eql?(Complex(1, 0)) # => false * - * \Method +eql?+ is different from +==+ in that +eql?+ requires matching types, - * while +==+ does not. + * \Method +eql?+ is different from == in that +eql?+ requires matching types, + * while == does not. * */