Skip to main content

ts

Macro ts 

Source
macro_rules! ts {
    ($lang:expr, $en:literal, $zh:literal) => { ... };
}
Expand description

Like t! but yields a &'static str, for cases that must not allocate or that feed APIs expecting a borrowed string.