mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 13:44:03 +03:00
Fix after method rename
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
4cef25eff8
commit
e97ce4ff58
@ -347,7 +347,7 @@ impl FileFinder {
|
||||
fn spawn_search(&mut self, query: String, ctx: &mut ViewContext<Self>) {
|
||||
let worktrees = self.worktrees(ctx.as_ref());
|
||||
let search_id = util::post_inc(&mut self.search_count);
|
||||
let pool = ctx.app().scoped_pool().clone();
|
||||
let pool = ctx.as_ref().scoped_pool().clone();
|
||||
let task = ctx.background_executor().spawn(async move {
|
||||
let matches = match_paths(worktrees.as_slice(), &query, false, false, 100, pool);
|
||||
(search_id, matches)
|
||||
|
Loading…
Reference in New Issue
Block a user