pub fn try_format_small_string<const CAP: usize>(
args: Arguments<'_>,
) -> Result<SmallString<[u8; CAP]>>Expand description
Formats arguments into a small string, propagating any formatting error.
Output beyond CAP bytes spills to the heap, so the buffer itself never
overflows. Only a Display implementation among the arguments can fail.