Macro fluent_args
macro_rules! fluent_args {
( $($key:expr => $value:expr),* $(,)? ) => { ... };
}
Expand description
A helper macro to simplify creation of FluentArgs.
ยงExample
use fluent::fluent_args;
let mut args = fluent_args![
"name" => "John",
"emailCount" => 5,
];