v0.3.4
- Improve
t!
macro for support expr arguments.
let name = "Jason Lee";
let locale = "en";
t!("hello, %{name}", name = name);
t!("hello, %{name}", name = &format!("{}", name));
t!("hello, %{name}", locale = locale, name = name);
t!
macro for support expr arguments.let name = "Jason Lee";
let locale = "en";
t!("hello, %{name}", name = name);
t!("hello, %{name}", name = &format!("{}", name));
t!("hello, %{name}", locale = locale, name = name);