(buf: &mut F, n: &OrderedDecimal<Numeric>)
| 598 | } |
| 599 | |
| 600 | pub fn format_numeric<F>(buf: &mut F, n: &OrderedDecimal<Numeric>) -> Nestable |
| 601 | where |
| 602 | F: FormatBuffer, |
| 603 | { |
| 604 | write!(buf, "{}", n.0.to_standard_notation_string()); |
| 605 | Nestable::Yes |
| 606 | } |
| 607 | |
| 608 | pub fn format_string<F>(buf: &mut F, s: &str) -> Nestable |
| 609 | where |
no outgoing calls
no test coverage detected