From 45eb0a4b63ca4ab5b46c6276a38c895c99d6b346 Mon Sep 17 00:00:00 2001 From: "Dhanji R. Prasanna" Date: Mon, 13 Oct 2025 21:51:44 +1100 Subject: [PATCH] small compile error --- crates/g3-cli/src/tui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/g3-cli/src/tui.rs b/crates/g3-cli/src/tui.rs index cf9629a..7ba44c0 100644 --- a/crates/g3-cli/src/tui.rs +++ b/crates/g3-cli/src/tui.rs @@ -40,7 +40,7 @@ impl SimpleOutput { } pub fn print_context(&self, used: u32, total: u32, percentage: f32) { - let bar_width = 10; + let bar_width: usize = 10; let filled_width = ((percentage / 100.0) * bar_width as f32) as usize; let empty_width = bar_width.saturating_sub(filled_width);