Refactor: progress bar: rm unused field

This commit is contained in:
andy.boot
2023-01-14 16:51:41 +00:00
parent 03a8d643c5
commit 5bfa44ec77
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -180,7 +180,6 @@ fn main() {
} else { } else {
let conf = PConfig { let conf = PConfig {
use_iso: iso, use_iso: iso,
ignore_hidden, // can we rm this?
}; };
let mut indicator = PIndicator::build_me(conf); let mut indicator = PIndicator::build_me(conf);
indicator.spawn(); indicator.spawn();
-1
View File
@@ -157,7 +157,6 @@ fn format_indicator_str(data: &PAtomicInfo, progress_char_i: usize, s: &str) ->
#[derive(Default)] #[derive(Default)]
pub struct PConfig { pub struct PConfig {
pub ignore_hidden: bool,
pub use_iso: bool, pub use_iso: bool,
} }