We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80cb820 commit a1fa874Copy full SHA for a1fa874
crates/ty_server/src/session.rs
@@ -227,12 +227,7 @@ impl Session {
227
228
pub(crate) fn take_workspace_snapshot(&self) -> WorkspaceSnapshot {
229
WorkspaceSnapshot {
230
- projects: AssertUnwindSafe(
231
- self.projects_by_workspace_folder
232
- .values()
233
- .cloned()
234
- .collect(),
235
- ),
+ projects: AssertUnwindSafe(self.projects.values().cloned().collect()),
236
index: self.index.clone().unwrap(),
237
position_encoding: self.position_encoding,
238
}
0 commit comments