bytes_utils

Macro format_bytes_mut

Source
macro_rules! format_bytes_mut {
    ($($arg: tt)*) => { ... };
}
Expand description

The format macro, but returning StrMut.

ยงExamples

use bytes_utils::{format_bytes_mut, StrMut};
let s: StrMut = format_bytes_mut!("Hello {}", "world");
assert_eq!("Hello world", s);