diff --git a/src/settings.rs b/src/settings.rs index 2420a251..2781fbb1 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -75,10 +75,11 @@ impl Settings { displayed_attributes: None, } } - pub fn with_synonyms(self, synonyms: HashMap) -> Settings + pub fn with_synonyms(self, synonyms: HashMap) -> Settings where S: AsRef, - U: IntoIterator, + V: AsRef, + U: IntoIterator, { Settings { synonyms: Some(