aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src/cargo_workspace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/project_model/src/cargo_workspace.rs')
-rw-r--r--crates/project_model/src/cargo_workspace.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs
index 4a4996cf4..ad705c752 100644
--- a/crates/project_model/src/cargo_workspace.rs
+++ b/crates/project_model/src/cargo_workspace.rs
@@ -1,4 +1,4 @@
1//! FIXME: write short doc here 1//! See [`CargoWorkspace`].
2 2
3use std::path::PathBuf; 3use std::path::PathBuf;
4use std::{convert::TryInto, ops, process::Command, sync::Arc}; 4use std::{convert::TryInto, ops, process::Command, sync::Arc};
@@ -12,10 +12,9 @@ use rustc_hash::FxHashMap;
12use serde::Deserialize; 12use serde::Deserialize;
13use serde_json::from_value; 13use serde_json::from_value;
14 14
15use crate::build_data::BuildDataConfig; 15use crate::{build_data::BuildDataConfig, utf8_stdout};
16use crate::utf8_stdout;
17 16
18/// `CargoWorkspace` represents the logical structure of, well, a Cargo 17/// [`CargoWorkspace`] represents the logical structure of, well, a Cargo
19/// workspace. It pretty closely mirrors `cargo metadata` output. 18/// workspace. It pretty closely mirrors `cargo metadata` output.
20/// 19///
21/// Note that internally, rust analyzer uses a different structure: 20/// Note that internally, rust analyzer uses a different structure: