From bb26f6be904835aed7b51b11bf3044e4420e53c7 Mon Sep 17 00:00:00 2001 From: Adrian Wannenmacher Date: Sun, 24 Sep 2023 07:51:45 +0200 Subject: [PATCH] remove recursive context --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0337faf..d53433f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -69,7 +69,7 @@ fn fs_entry(entry: &Path, summary: &mut Ids) -> Result<()> { let children = read_dir(entry).context(format!("failed to read dir {}", display))?; for e in children { let e = e.context(format!("invalid child for {}", display))?; - fs_entry(&e.path(), summary).context(format!("failed to read child of {}", display))?; + fs_entry(&e.path(), summary)?; } }