aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_project_model')
-rw-r--r--crates/ra_project_model/src/cargo_workspace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_project_model/src/cargo_workspace.rs b/crates/ra_project_model/src/cargo_workspace.rs
index eeeb10233..72cb5d388 100644
--- a/crates/ra_project_model/src/cargo_workspace.rs
+++ b/crates/ra_project_model/src/cargo_workspace.rs
@@ -142,7 +142,7 @@ impl Package {
142 ws.packages[self].dependencies.iter() 142 ws.packages[self].dependencies.iter()
143 } 143 }
144 pub fn out_dir(self, ws: &CargoWorkspace) -> Option<&Path> { 144 pub fn out_dir(self, ws: &CargoWorkspace) -> Option<&Path> {
145 ws.packages[self].out_dir.as_ref().map(|od| od.as_path()) 145 ws.packages[self].out_dir.as_ref().map(PathBuf::as_path)
146 } 146 }
147} 147}
148 148