summaryrefslogtreecommitdiff
path: root/src/term.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs
index 86909f0..e3bfd7b 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -166,7 +166,7 @@ pub fn progress_bar<'a>(
total: u16,
term_width: u16,
) -> io::Result<()> {
- debug_assert!(total < 1000);
+ debug_assert!(total <= 999);
debug_assert!(progress <= total);
const PREFIX: &[u8] = b"Progress: [";