diff --git a/crates/packaging/src/https.rs b/crates/packaging/src/https.rs index ec1df1291be..dd6fd825ae6 100644 --- a/crates/packaging/src/https.rs +++ b/crates/packaging/src/https.rs @@ -418,7 +418,6 @@ impl Read for HashReader { struct ProgressReporter { read: usize, total: usize, - last_reported: usize, reader: R, } @@ -426,7 +425,6 @@ impl ProgressReporter { fn new(reader: R, total: usize) -> Self { ProgressReporter { read: 0, - last_reported: 0, total, reader, } @@ -445,7 +443,6 @@ impl Read for ProgressReporter { self.total as f32 / 1_000_000.0, ); std::io::stdout().flush()?; - self.last_reported = self.read; if self.read >= self.total { println!("");