Revert "Replace project_path with project_entry in workspace::{Item, ItemView}"

This reverts commit 9c9a09cccb.
This commit is contained in:
Nathan Sobo 2022-01-21 11:07:10 -07:00
parent 1d72e8face
commit a73671e57c
7 changed files with 67 additions and 126 deletions

View file

@ -539,7 +539,7 @@ impl workspace::Item for ProjectDiagnostics {
diagnostics
}
fn project_entry(&self) -> Option<project::ProjectEntry> {
fn project_path(&self) -> Option<project::ProjectPath> {
None
}
}
@ -555,7 +555,7 @@ impl workspace::ItemView for ProjectDiagnosticsEditor {
"Project Diagnostics".to_string()
}
fn project_entry(&self, _: &AppContext) -> Option<project::ProjectEntry> {
fn project_path(&self, _: &AppContext) -> Option<project::ProjectPath> {
None
}