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::>();