Fix clippy issues
This commit is contained in:
Родитель
ce73003166
Коммит
bf2aeb25b1
|
@ -8,14 +8,14 @@ use error_support::handle_error;
|
|||
/// SearchEngineSelector parses the JSON configuration for
|
||||
/// search engines and returns the applicable engines depending
|
||||
/// on their region + locale.
|
||||
#[derive(uniffi::Object)]
|
||||
#[derive(Default, uniffi::Object)]
|
||||
pub struct SearchEngineSelector {}
|
||||
|
||||
#[uniffi::export]
|
||||
impl SearchEngineSelector {
|
||||
#[uniffi::constructor]
|
||||
pub fn new() -> SearchEngineSelector {
|
||||
Self {}
|
||||
pub fn new() -> Self {
|
||||
Self::default()
|
||||
}
|
||||
|
||||
/// Sets the search configuration from the given string. This allows for
|
||||
|
|
Загрузка…
Ссылка в новой задаче