diff --git a/crates/project/src/project_search.rs b/crates/project/src/project_search.rs index a05a3f9acf4795f5e964aaaa5b18642d1d00ea0d..6a9fcdc0dcabba2b1a1e360543d361f2a293b723 100644 --- a/crates/project/src/project_search.rs +++ b/crates/project/src/project_search.rs @@ -193,8 +193,8 @@ impl Search { } /// Background workers cannot open buffers by themselves, hence main thread will do it on their behalf. - async fn open_buffers<'a>( - &'a self, + async fn open_buffers( + &self, rx: Receiver, find_all_matches_tx: Sender>, mut cx: AsyncApp,