diff options
author | Emil Lauridsen <[email protected]> | 2020-03-17 13:56:14 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2020-03-17 13:56:14 +0000 |
commit | 5af81b8456b5fedcc981145bbead7cc7b6b2fc19 (patch) | |
tree | 55a1cb9954be1c56970e8bf390f79f3890630033 /crates/ra_project_model/src | |
parent | e154132c911be41b75e84d01de5c7efa4da9168e (diff) |
Slight readablity improvement
Diffstat (limited to 'crates/ra_project_model/src')
-rw-r--r-- | crates/ra_project_model/src/cargo_workspace.rs | 2 |
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 | ||