fix(render): fix clippy warning

This commit is contained in:
Federico Terzi 2022-02-15 23:07:35 +01:00
parent 56b200609a
commit 9760776904

View File

@ -414,6 +414,7 @@ impl LocaleProvider for DefaultLocaleProvider {
sys_locale::get_locale().unwrap_or_else(|| String::from("en-US")) sys_locale::get_locale().unwrap_or_else(|| String::from("en-US"))
} }
} }
#[allow(clippy::new_without_default)]
impl DefaultLocaleProvider { impl DefaultLocaleProvider {
pub fn new() -> Self { pub fn new() -> Self {
Self {} Self {}