macro_rules! format_static {
($len:expr,$($arg:tt)*) => { ... };
}Expand description
The format_static macro builds a static string via format.
ยงExample
use static_collections::*;
let s=format_static!(256,"Hello, {}!","World");
assert_eq!(s.unwrap(),"Hello, World!");