(&self, ch: T::Char)
| 402 | |
| 403 | #[inline] |
| 404 | pub fn format_char<T: FormatBuf>(&self, ch: T::Char) -> T { |
| 405 | self.format_string_with_precision( |
| 406 | T::from_iter([ch]), |
| 407 | Some(&(CFormatQuantity::Amount(1).into())), |
| 408 | ) |
| 409 | } |
| 410 | |
| 411 | pub fn format_bytes(&self, bytes: &[u8]) -> Vec<u8> { |
| 412 | let bytes = if let Some(CFormatPrecision::Quantity(CFormatQuantity::Amount(precision))) = |
no test coverage detected