cargo fmt

This commit is contained in:
dvvvvvv 2020-02-04 23:02:08 +09:00 committed by Abin Simon
parent ace04d6b39
commit 9315eec59c

View file

@ -45,7 +45,10 @@ impl Name {
}
pub fn file_name(&self) -> &str {
self.path.file_name().and_then(OsStr::to_str).unwrap_or(&self.name)
self.path
.file_name()
.and_then(OsStr::to_str)
.unwrap_or(&self.name)
}
fn relative_path<T: AsRef<Path> + Clone>(&self, base_path: T) -> PathBuf {