mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
gettext.rs: make trailing comma actually optional
This commit is contained in:
parent
f167ec9063
commit
39c3faeaf4
1 changed files with 1 additions and 1 deletions
|
@ -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),*)
|
||||
|
|
Loading…
Reference in a new issue