Skip to content

Commit 550a49c

Browse files
committed
[DOC] Fix documentation for Numeric#eql?
+==+ does not format properly, so we should use <tt>==</tt> instead.
1 parent 3d31e91 commit 550a49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numeric.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,8 +1550,8 @@ rb_float_pow(VALUE x, VALUE y)
15501550
* 1.eql?(Rational(1, 1)) # => false
15511551
* 1.eql?(Complex(1, 0)) # => false
15521552
*
1553-
* \Method +eql?+ is different from +==+ in that +eql?+ requires matching types,
1554-
* while +==+ does not.
1553+
* \Method +eql?+ is different from <tt>==</tt> in that +eql?+ requires matching types,
1554+
* while <tt>==</tt> does not.
15551555
*
15561556
*/
15571557

0 commit comments

Comments
 (0)