macro_rules! format_bytes { ($($arg: tt)*) => { ... }; }
The format macro, but returning Str.
use bytes_utils::{format_bytes, Str}; let s: Str = format_bytes!("Hello {}", "world"); assert_eq!("Hello world", s);