tinymist_std::typst::foundations

Macro eco_format

macro_rules! eco_format {
    ($($tts:tt)*) => { ... };
}
Expand description

Create a new EcoString from a format string.

assert_eq!(eco_format!("Hello, {}!", 123), "Hello, 123!");