(&self, f: &mut fmt::Formatter<'_>)
| 22 | |
| 23 | impl fmt::Debug for Bound { |
| 24 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 25 | let value = match self { |
| 26 | INF => String::from("∞"), |
| 27 | NINF => String::from("-∞"), |
| 28 | Int(n) => n.to_string(), |
| 29 | }; |
| 30 | write!(f, "{}", value) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | impl Ord for Bound { |