sformat

Macro sformat 

Source
macro_rules! sformat {
    ($fmt:expr) => { ... };
    ($fmt:expr, $($args:tt)*) => { ... };
}
Expand description

A macro for creating SharedString instances from format arguments.

This macro works similarly to format! but returns a SharedString instead of a String. It attempts to optimize for 'static string literals.