From 88c8992cc3391c9c9b588485c1f420b935510ef4 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sun, 26 Jan 2025 17:21:49 -0600 Subject: [PATCH] Add inline attribute --- src/complete.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/complete.rs b/src/complete.rs index feea6a220..904375af5 100644 --- a/src/complete.rs +++ b/src/complete.rs @@ -74,6 +74,7 @@ /// 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() {