Aditya Phasu commited on
Commit
fc3b416
β€’
1 Parent(s): 405d006

πŸ”§ remove unnecessary clone call (#333)

Browse files
Files changed (1) hide show
  1. src/results/aggregator.rs +1 -7
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
  }