diff options
author | Aleksey Kladov <[email protected]> | 2020-06-24 14:52:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-24 15:16:52 +0100 |
commit | e6c61d5072e600372ba4a38ad8893af37aaa77e6 (patch) | |
tree | fd9b9d3295963b17f65d2a0960189adeae38c3a2 /crates/rust-analyzer/src/main_loop.rs | |
parent | a07cad16ab6271809d30ecf723420b3e41ec42ef (diff) |
Cleanup project.json deserialization
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index b9d296856..390c66dfc 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -114,10 +114,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> { | |||
114 | .ok() | 114 | .ok() |
115 | } | 115 | } |
116 | LinkedProject::InlineJsonProject(it) => { | 116 | LinkedProject::InlineJsonProject(it) => { |
117 | Some(ra_project_model::ProjectWorkspace::Json { | 117 | Some(ra_project_model::ProjectWorkspace::Json { project: it.clone() }) |
118 | project: it.clone(), | ||
119 | project_location: config.root_path.clone(), | ||
120 | }) | ||
121 | } | 118 | } |
122 | }) | 119 | }) |
123 | .collect::<Vec<_>>() | 120 | .collect::<Vec<_>>() |