mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Slight readablity improvement
This commit is contained in:
parent
e154132c91
commit
5af81b8456
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ impl Package {
|
|||
ws.packages[self].dependencies.iter()
|
||||
}
|
||||
pub fn out_dir(self, ws: &CargoWorkspace) -> Option<&Path> {
|
||||
ws.packages[self].out_dir.as_ref().map(|od| od.as_path())
|
||||
ws.packages[self].out_dir.as_ref().map(PathBuf::as_path)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue