diff options
Diffstat (limited to 'src/locale.rs')
-rw-r--r-- | src/locale.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale.rs b/src/locale.rs index bea68cad..833de71e 100644 --- a/src/locale.rs +++ b/src/locale.rs @@ -67,7 +67,7 @@ pub fn set_locale_environment() { // try setting `locale_id` let modified = setlocale(LC_CTYPE, locale_ptr); let result = if modified.is_null() { - String::from("") + String::new() } else { locale_id }; |