Use Project
instead of Workspace
in ContextStore
(#28402)
Release Notes: - N/A
This commit is contained in:
parent
9dae4d8c59
commit
f12a554f86
6 changed files with 32 additions and 40 deletions
|
@ -867,7 +867,7 @@ mod tests {
|
|||
.expect("Opened test file wasn't an editor")
|
||||
});
|
||||
|
||||
let context_store = cx.new(|_| ContextStore::new(workspace.downgrade(), None));
|
||||
let context_store = cx.new(|_| ContextStore::new(project.downgrade(), None));
|
||||
|
||||
let editor_entity = editor.downgrade();
|
||||
editor.update_in(&mut cx, |editor, window, cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue