Fix different kinds values used for worktree_id (#17523)

This commit is contained in:
Kirill Bulatov
2024-09-07 00:51:09 -04:00
committed by GitHub
parent 47aec5e64d
commit 8985fd87c2
18 changed files with 136 additions and 127 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ impl<T: Item> ItemHandle for View<T> {
if let Some(project_path) = self.project_path(cx) {
WorkspaceSettings::get(
Some(SettingsLocation {
worktree_id: project_path.worktree_id.into(),
worktree_id: project_path.worktree_id,
path: &project_path.path,
}),
cx,