From 3a1a1fcd0ab591fc7adf8f3f421cceb4158976f7 Mon Sep 17 00:00:00 2001 From: epi Date: Wed, 3 Feb 2021 10:25:55 -0600 Subject: [PATCH] removed lint --- src/heuristics.rs | 2 +- src/progress.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/heuristics.rs b/src/heuristics.rs index 49918ef..6f1e4da 100644 --- a/src/heuristics.rs +++ b/src/heuristics.rs @@ -233,7 +233,7 @@ impl HeuristicTests { OutputLevel::Default | OutputLevel::Quiet ) { ferox_print( - &format!("Could not connect to {}, skipping... (try turning on warnings with -v)", target_url), + &format!("Could not connect to {}, skipping...", target_url), &PROGRESS_PRINTER, ); } diff --git a/src/progress.rs b/src/progress.rs index fe505ab..cdc749f 100644 --- a/src/progress.rs +++ b/src/progress.rs @@ -45,7 +45,7 @@ pub fn add_bar(prefix: &str, length: u64, bar_type: BarType) -> ProgressBar { style.template("[{bar:.yellow/blue}] - {elapsed:<4} {pos:>7}/{len:7} {eta:7} {msg}") } BarType::Quiet => style.template("Scanning: {prefix}"), - }; // todo update README with silent/quiet stuff + }; let progress_bar = PROGRESS_BAR.add(ProgressBar::new(length));