diff --git a/src/publish.rs b/src/publish.rs index 9a1f989..3a6ef0c 100644 --- a/src/publish.rs +++ b/src/publish.rs @@ -445,10 +445,9 @@ struct VersionMeta { impl VersionMeta { pub fn source_dir(&self) -> PathBuf { - self.tmp.path().join(format!( - "{}-{}", - self.index_meta.name, self.index_meta.vers - )) + self.tmp + .path() + .join(format!("{}-{}", self.index_meta.name, self.index_meta.vers)) } }