From b5d23d478252e5b8415387e8f9d246ffeb0f17c6 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 12 Nov 2021 16:09:32 +0100 Subject: Remove duplicate error handling in search_file We already print out errors in the caller, no need to have this duplicated error handling here. --- src/main.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 242e285..5001a17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -533,14 +533,7 @@ fn search_file(path: &Path, is_zip: bool, filter: &dyn LogFilter) -> Result