diff options
author | Victor Shepelev <[email protected]> | 2023-12-09 06:54:33 +0200 |
---|---|---|
committer | <[email protected]> | 2023-12-09 13:54:33 +0900 |
commit | 07734b51c66756c4a7a512ebb4736763542d99f3 () | |
tree | 3f60a9035ba9ee2538ef5d6eb7f40ac232c67261 /range.c | |
parent | 1cbe114d1cf57dc47b4bbc6780f424647dd906d9 (diff) |
[DOC] Small fixes for documentation rendering
Mostly just fixing RDoc's incorrect treatment of `+`
-rw-r--r-- | range.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2394,14 +2394,14 @@ empty_region_p(VALUE beg, VALUE end, int excl) * This method assumes that there is no minimum value because * Ruby lacks a standard method for determining minimum values. * This assumption is invalid. - * For example, there is no value smaller than +-Float::INFINITY+, - * making +(...-Float::INFINITY)+ an empty set. - * Consequently, +(...-Float::INFINITY)+ has no elements in common with itself, - * yet +(...-Float::INFINITY).overlap?((...-Float::INFINITY))+ returns - * true due to this assumption. - * In general, if +r = (...minimum); r.overlap?(r)+ returns +true+, * where +minimum+ is a value that no value is smaller than. - * Such values include +-Float::INFINITY+, +[]+, +""+, and * classes without subclasses. * * Related: Range#cover?. |