0
0
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:
Aditya Phasu 2023-10-15 03:37:59 +05:30 committed by GitHub
parent 405d00612f
commit fc3b416970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
})); }));
} }