pub fn format_int<I: Integer>(n: I) -> Buffer
One-shot convenience: formats an integer into a new Buffer and returns it.
Buffer
let buf = format_number::format_int(42); assert!(buf == "42"); let s: &str = &buf;