From 200ee974f8d7f5a83764d34aabbc4336abeb18fc Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Wed, 27 Nov 2024 14:02:31 +0100 Subject: [PATCH] fix: [parser] cargo fmt fix --- src/parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser.rs b/src/parser.rs index 618b752..dbfdafa 100755 --- a/src/parser.rs +++ b/src/parser.rs @@ -105,9 +105,9 @@ pub fn collect_strings(path: &str) -> Result, ParserError> { let entries = paths .flat_map(|path| { - path.map_err(|err| { - error!("[macos-unifiedlogs] Failed to get directory entry: {err:?}",) - }) + path.map_err( + |err| error!("[macos-unifiedlogs] Failed to get directory entry: {err:?}",), + ) .ok() }) .collect::>();