Skip to content

v0.3.4

Compare
Choose a tag to compare
@huacnlee huacnlee released this 09 Dec 07:15
· 199 commits to main since this release
  • 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);