gettext.rs: make trailing comma actually optional

This commit is contained in:
Johannes Altmanninger 2023-02-05 09:58:45 +01:00
parent f167ec9063
commit 39c3faeaf4

View File

@ -28,7 +28,7 @@ pub(crate) use wgettext;
macro_rules! wgettext_fmt {
(
$string:literal, // format string
$($args:expr),*, // list of expressions
$($args:expr),* // list of expressions
$(,)? // optional trailing comma
) => {
crate::wutil::sprintf!(&crate::wutil::wgettext!($string), $($args),*)