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