From 659b20ef12856861eff45e113f4eba72a843fa1d Mon Sep 17 00:00:00 2001 From: DustInDark Date: Sun, 19 Jun 2022 23:11:42 +0900 Subject: [PATCH] cargo fmt --- src/detections/print.rs | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/detections/print.rs b/src/detections/print.rs index 5e5c8524..73e20928 100644 --- a/src/detections/print.rs +++ b/src/detections/print.rs @@ -65,15 +65,17 @@ lazy_static! { pub static ref PIVOT_KEYWORD_LIST_FLAG: bool = configs::CONFIG.read().unwrap().args.pivot_keywords_list; pub static ref IS_HIDE_RECORD_ID: bool = configs::CONFIG.read().unwrap().args.hide_record_id; - pub static ref DEFAULT_DETAILS: HashMap = Message::get_default_details(&format!( - "{}/default_details.txt", - configs::CONFIG - .read() - .unwrap() - .args - .config - .as_path() - .display())); + pub static ref DEFAULT_DETAILS: HashMap = + Message::get_default_details(&format!( + "{}/default_details.txt", + configs::CONFIG + .read() + .unwrap() + .args + .config + .as_path() + .display() + )); } impl Default for Message {