macro_rules! format {
($cap:literal, $($arg:tt)*) => { ... };
}
Expand description
String
-returning copy of std::format
use toad_string::{format, String};
assert_eq!(format!(32, "hello, {}!", String::<5>::from("jason")),
String::<32>::from("hello, jason!"));