Spaces:
Runtime error
Runtime error
Aditya Phasu
commited on
Commit
β’
fc3b416
1
Parent(s):
405d006
π§ remove unnecessary clone call (#333)
Browse files
src/results/aggregator.rs
CHANGED
@@ -88,13 +88,7 @@ pub async fn aggregate(
|
|
88 |
let query: String = query.to_owned();
|
89 |
tasks.push(tokio::spawn(async move {
|
90 |
search_engine
|
91 |
-
.results(
|
92 |
-
&query,
|
93 |
-
page,
|
94 |
-
user_agent.clone(),
|
95 |
-
request_timeout,
|
96 |
-
safe_search,
|
97 |
-
)
|
98 |
.await
|
99 |
}));
|
100 |
}
|
|
|
88 |
let query: String = query.to_owned();
|
89 |
tasks.push(tokio::spawn(async move {
|
90 |
search_engine
|
91 |
+
.results(&query, page, user_agent, request_timeout, safe_search)
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
.await
|
93 |
}));
|
94 |
}
|