fix(render): fix clippy warning
This commit is contained in:
parent
56b200609a
commit
9760776904
|
@ -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 {}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user