Macro erg_common::switch_lang
source · macro_rules! switch_lang { ( $should_english: literal => $msg: expr, ) => { ... }; ( $lang_name: literal => $msg: expr, $($rest_lang_name: literal => $rest_msg: expr,)+ ) => { ... }; }
Expand description
More languages will be added …
Macros do not expand parameters, eliminating the cost of format!