Get workspace compiling with new event emitters
This commit is contained in:
@@ -9062,9 +9062,7 @@ impl<'a> Iterator for PathMatchCandidateSetIter<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
impl EventEmitter for Project {
|
||||
type Event = Event;
|
||||
}
|
||||
impl EventEmitter<Event> for Project {}
|
||||
|
||||
impl<P: AsRef<Path>> From<(WorktreeId, P)> for ProjectPath {
|
||||
fn from((worktree_id, path): (WorktreeId, P)) -> Self {
|
||||
|
||||
@@ -281,9 +281,7 @@ pub enum Event {
|
||||
UpdatedGitRepositories(UpdatedGitRepositoriesSet),
|
||||
}
|
||||
|
||||
impl EventEmitter for Worktree {
|
||||
type Event = Event;
|
||||
}
|
||||
impl EventEmitter<Event> for Worktree {}
|
||||
|
||||
impl Worktree {
|
||||
pub async fn local(
|
||||
|
||||
Reference in New Issue
Block a user