fish-shell/fish-rust/src/wutil
Fabian Boehm 0aa08cf267 Make wgettext_fmt! require an argument *to* format
Like FLOGF!, this now needs at least one argument to format.

This avoids some issues with missing variables and broken format
strings - it is how I found 13ba5bd405 -
where disown had a format string, with two placeholders, but no
arguments to fill them with.

For use in e.g. macros, where it's otherwise hard to tell if we have
something to format or not, this adds a wgettext_maybe_fmt! version to
"maybe" format, if necessary.
2023-11-29 21:12:21 +01:00
..
dir_iter.rs Port execution 2023-11-15 11:09:48 +01:00
encoding.rs Port common.{h,cpp} to Rust 2023-04-02 15:17:06 +02:00
errors.rs wcstoi: remove the consume_all / consumed_all machinery 2023-05-14 18:38:24 -07:00
fileid.rs Prefer os-unix prelude over importing everything separately 2023-08-09 15:00:58 +02:00
gettext.rs Make wgettext_fmt! require an argument *to* format 2023-11-29 21:12:21 +01:00
mod.rs Make wgettext_fmt! require an argument *to* format 2023-11-29 21:12:21 +01:00
printf.rs Replace the printf implementation 2023-03-26 14:07:29 -07:00
tests.rs Adopt the wchar prelude 2023-08-09 15:00:58 +02:00
wcstod.rs wcstod: adjust tests for new implementation 2023-04-16 22:26:46 +02:00
wcstoi.rs Port execution 2023-11-15 11:09:48 +01:00