mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 13:38:21 -05:00
🚨 chore: make rust format checks happy (#603)
This commit is contained in:
parent
98e817c0a8
commit
1883093dc7
@ -104,9 +104,7 @@ pub async fn search(
|
||||
let (results_list, cache_keys): (Vec<SearchResults>, Vec<String>) =
|
||||
[previous_results?, results.clone(), next_results?]
|
||||
.into_iter()
|
||||
.filter_map(|(result, cache_key, flag)| {
|
||||
flag.then_some((result, cache_key))
|
||||
})
|
||||
.filter_map(|(result, cache_key, flag)| flag.then_some((result, cache_key)))
|
||||
.multiunzip();
|
||||
|
||||
tokio::spawn(async move { cache.cache_results(&results_list, &cache_keys).await });
|
||||
|
Loading…
Reference in New Issue
Block a user