Skip to content

Commit

Permalink
Apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
albertlarsan68 committed Dec 21, 2022
1 parent ce4c34b commit 888a723
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cargo/util/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ struct Format {
max_print: usize,
}

/// Which escape code to use for progress reporting.
///
/// There is more codes, but we only use these two.
enum ProgressCode {
None,
Normal(u8),
Expand Down Expand Up @@ -101,7 +104,7 @@ impl<'cfg> Progress<'cfg> {
throttle: Throttle::new(),
last_line: None,
fixed_width: progress_config.width,
last_pbar: 255,
last_pbar: u8::MAX,
}),
}
}
Expand Down

0 comments on commit 888a723

Please sign in to comment.