format_if_alloc

Macro format_if_alloc 

Source
macro_rules! format_if_alloc {
    ($default:expr, $fmt:tt$(, $($arg:expr),+)?) => { ... };
}
Expand description

Heap-allocated custom formatting if alloc is enabled; otherwise, use the first, non-heap argument.