From 7e773d9f5cad81139cbc48f8f1d21cd12e94ed7e Mon Sep 17 00:00:00 2001 From: dvvvvvv Date: Tue, 4 Feb 2020 21:20:03 +0900 Subject: [PATCH] cargo fmt --- src/meta/name.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/meta/name.rs b/src/meta/name.rs index f697669..1f3949e 100644 --- a/src/meta/name.rs +++ b/src/meta/name.rs @@ -54,7 +54,8 @@ impl Name { return PathBuf::from("."); } - let shared_components: PathBuf = self.path + let shared_components: PathBuf = self + .path .components() .zip(base_path.components()) .take_while(|(target_component, base_component)| target_component == base_component) @@ -88,7 +89,7 @@ impl Name { icons.get(self), self.relative_path(base_path).to_string_lossy() ), - DisplayOption::None => format!("{}{}", icons.get(self), self.path.to_string_lossy()) + DisplayOption::None => format!("{}{}", icons.get(self), self.path.to_string_lossy()), }; let elem = match self.file_type {