mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -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();
|
||||
tasks.push(tokio::spawn(async move {
|
||||
search_engine
|
||||
.results(
|
||||
&query,
|
||||
page,
|
||||
user_agent.clone(),
|
||||
request_timeout,
|
||||
safe_search,
|
||||
)
|
||||
.results(&query, page, user_agent, request_timeout, safe_search)
|
||||
.await
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user