mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Clean up two awkward wgettext_fmt invocations
This commit is contained in:
parent
836ee93617
commit
97e7e730e1
2 changed files with 2 additions and 2 deletions
|
@ -324,7 +324,7 @@ fn abbr_add(opts: &Options, streams: &mut IoStreams) -> Option<c_int> {
|
|||
.append(wgettext_fmt!("%ls: %ls\n", CMD, regex_pattern.as_utfstr()));
|
||||
streams
|
||||
.err
|
||||
.append(wgettext_fmt!("%ls: %*ls\n", CMD, offset, "^"));
|
||||
.append(sprintf!("%ls: %*ls\n", CMD, offset, "^"));
|
||||
}
|
||||
return STATUS_INVALID_ARGS;
|
||||
}
|
||||
|
|
|
@ -947,7 +947,7 @@ impl Parser {
|
|||
&wgettext_fmt!(
|
||||
"Could not write profiling information to file '%s': %s",
|
||||
&String::from_utf8_lossy(path),
|
||||
format!("{}", err)
|
||||
err.to_string()
|
||||
)
|
||||
);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue