mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-24 23:18:22 -05:00
🔧 remove unnecessary clone call (#333)
This commit is contained in:
parent
405d00612f
commit
fc3b416970
@ -88,13 +88,7 @@ pub async fn aggregate(
|
|||||||
let query: String = query.to_owned();
|
let query: String = query.to_owned();
|
||||||
tasks.push(tokio::spawn(async move {
|
tasks.push(tokio::spawn(async move {
|
||||||
search_engine
|
search_engine
|
||||||
.results(
|
.results(&query, page, user_agent, request_timeout, safe_search)
|
||||||
&query,
|
|
||||||
page,
|
|
||||||
user_agent.clone(),
|
|
||||||
request_timeout,
|
|
||||||
safe_search,
|
|
||||||
)
|
|
||||||
.await
|
.await
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user