Closed rodrigorc closed 3 months ago
Thanks a lot for all your fixes.
Let me know when your queue of fixes is done and I'll make a release on crates.io
Let me know when your queue of fixes is done and I'll make a release on crates.io
Just one more. That will be the best and most controversial of all 😉.
BTW, thank you so much for this crate!
Hi, again!
The
tr!
macro does not accept formatting parameters in its placeholders, that is ok, IMO a translation string is better without those. Then the natural thing to do would be to inject them by writing:Alas, this fails to compile with a cryptic:
Actually, the doc about
format_args!
warns about not storing such a value in local variable.Naturally, I could just use
format!()
, butformat_args!
is more efficient.Fortunately, the fix is quite trivial, as the local variable
fa
was there only for code style.