Skip to content

Commit 03a72aa

Browse files
committed
Fix progress bar being eaten on last packages
The return value of `DependencyQueue::len` changed, so we need to account for that here as well!
1 parent 205bab9 commit 03a72aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/job_queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl<'a, 'cfg> JobQueue<'a, 'cfg> {
390390
}
391391

392392
fn show_progress(&mut self, total: usize) {
393-
let count = total - self.queue.len();
393+
let count = total - self.queue.len() - self.active.len();
394394
let active_names = self
395395
.active
396396
.values()

0 commit comments

Comments
 (0)