From 7c3ece8a434049ca4534c5373af535c49fb7bec9 Mon Sep 17 00:00:00 2001 From: jrx Date: Thu, 14 Nov 2024 15:42:05 +0100 Subject: [PATCH] made clippy happy --- src/parser.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/parser.rs b/src/parser.rs index 9d1d45b..b526785 100755 --- a/src/parser.rs +++ b/src/parser.rs @@ -361,10 +361,12 @@ pub fn collect_timesync(path: &str) -> Result, ParserError> { #[cfg(test)] mod tests { use crate::parser::{ - build_log, collect_shared_strings, collect_shared_strings_system, collect_strings, - collect_strings_system, collect_timesync, collect_timesync_system, parse_log, + build_log, collect_shared_strings, collect_strings, collect_timesync, parse_log, + }; + #[cfg(target_os = "macos")] + use crate::parser::{ + collect_shared_strings_system, collect_strings_system, collect_timesync_system, }; - use std::path::PathBuf; #[test]