feat: fix code for clippy suggestions

This commit is contained in:
neon_arch 2023-07-14 21:18:26 +03:00
parent 3e6f7867eb
commit 9ee516e9b1
3 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ impl SearchEngine for DuckDuckGo {
);
let document: Html = Html::parse_document(
&DuckDuckGo::fetch_html_from_upstream(&self, url, header_map).await?,
&DuckDuckGo::fetch_html_from_upstream(self, url, header_map).await?,
);
let no_result: Selector = Selector::parse(".no-results")