Get workspace compiling with new event emitters
This commit is contained in:
parent
26fc36ee0e
commit
a97c8bf58f
24 changed files with 224 additions and 319 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue