We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd612e0 commit 06fd61aCopy full SHA for 06fd61a
src/cli/common.rs
@@ -125,17 +125,15 @@ pub(crate) fn read_line() -> Result<String> {
125
}
126
127
pub(super) struct Notifier {
128
- tracker: Arc<Mutex<DownloadTracker>>,
+ tracker: Mutex<DownloadTracker>,
129
ram_notice_shown: RefCell<bool>,
130
verbose: bool,
131
132
133
impl Notifier {
134
pub(super) fn new(verbose: bool, quiet: bool) -> Self {
135
Self {
136
- tracker: Arc::new(Mutex::new(DownloadTracker::new_with_display_progress(
137
- !quiet,
138
- ))),
+ tracker: Mutex::new(DownloadTracker::new_with_display_progress(!quiet)),
139
ram_notice_shown: RefCell::new(false),
140
verbose,
141
0 commit comments