mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-13 20:33:22 +08:00
Add inline attribute
This commit is contained in:
parent
2b2f824b94
commit
88c8992cc3
|
@ -74,6 +74,7 @@ static ABBR_DESC: Lazy<&wstr> = Lazy::new(|| wgettext!("Abbreviation: %ls"));
|
|||
/// The special cased translation macro for completions. The empty string needs to be special cased,
|
||||
/// since it can occur, and should not be translated. (Gettext returns the version information as
|
||||
/// the response).
|
||||
#[inline(always)]
|
||||
#[allow(non_snake_case)]
|
||||
fn C_(s: &wstr) -> &'static wstr {
|
||||
if s.is_empty() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user