Slight readablity improvement
This commit is contained in:
parent
e154132c91
commit
5af81b8456
@ -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…
x
Reference in New Issue
Block a user