(&self, client: &Client)
| 165 | } |
| 166 | |
| 167 | fn fetch(&self, client: &Client) -> BTreeSet<SynonymEntry> { |
| 168 | let mut matches = BTreeSet::new(); |
| 169 | for &repo_id in self.repos.iter() { |
| 170 | self.fetch_prefix(client, repo_id, &mut matches); |
| 171 | } |
| 172 | matches |
| 173 | } |
| 174 | |
| 175 | fn fetch_prefix(&self, client: &Client, repo_id: RepoId, matches: &mut BTreeSet<SynonymEntry>) { |
| 176 | let tokens = &mut self.search.tokens.iter(); |
no test coverage detected