From 52286ef17c5f6532fe2dd91b833e4c01150fa613 Mon Sep 17 00:00:00 2001 From: sergey-shandar Date: Mon, 11 Mar 2024 15:57:16 -0700 Subject: [PATCH] fmt --- blockset-lib/src/app/add.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/blockset-lib/src/app/add.rs b/blockset-lib/src/app/add.rs index 53b8a076..f8b4b9b7 100644 --- a/blockset-lib/src/app/add.rs +++ b/blockset-lib/src/app/add.rs @@ -83,10 +83,7 @@ impl<'a, T: Io, S: 'a + TreeAdd, F: Fn(&'a T) -> S> Add<'a, T, S, F> { } dir_to_json(GLOBAL, list.into_iter()) } - pub fn add_dir( - &self, - path: &str, - ) -> io::Result<()> { + pub fn add_dir(&self, path: &str) -> io::Result<()> { let json = self.path_to_json(path)?; let hash = read_to_tree( (self.storage)(self.io),