Skip to content

Commit 2098c96

Browse files
committed
Auto merge of #6206 - ehuss:progress-clear, r=alexcrichton
Fix download summary overlapping progress. The following two lines: ``` Downloading 0 crates, extracting cargo-modules ... Downloaded 1 crates (541.8 KB) in 1.64s ``` Were being combined resulting in: ``` Downloaded 1 crates (541.8 KB) in 1.64sodules ... ```
2 parents 2d0863f + f64a3be commit 2098c96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo/core/package.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,8 @@ impl<'a, 'cfg> Drop for Downloads<'a, 'cfg> {
694694
ByteSize(self.largest.0),
695695
));
696696
}
697+
// Clear progress before displaying final summary.
698+
drop(progress);
697699
drop(self.set.config.shell().status("Downloaded", status));
698700
}
699701
}

0 commit comments

Comments
 (0)