Skip to content

Commit

Permalink
Rename RefinedConfig for better namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Standard8 committed Oct 4, 2024
1 parent 9d12738 commit 9e9705c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/search/src/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

use crate::{error::Error, RefinedConfig, SearchApiResult, SearchUserEnvironment};
use crate::{error::Error, RefinedSearchConfig, SearchApiResult, SearchUserEnvironment};
use error_support::handle_error;

/// SearchEngineSelector parses the JSON configuration for
Expand Down Expand Up @@ -40,7 +40,7 @@ impl SearchEngineSelector {
pub fn filter_engine_configuration(
&self,
_user_environment: SearchUserEnvironment,
) -> SearchApiResult<RefinedConfig> {
) -> SearchApiResult<RefinedSearchConfig> {
Err(Error::NotImplemented)
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/search/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ pub struct SearchEngineDefinition {
/// Details of the search engines to display to the user, generated as a result
/// of processing the search configuration.
#[derive(Debug, uniffi::Record)]
pub struct RefinedConfig {
pub struct RefinedSearchConfig {
/// A sorted list of engines. Clients may use the engine in the order that
/// this list is specified, or they may implement their own order if they
/// have other requirements.
Expand Down

0 comments on commit 9e9705c

Please sign in to comment.