From 47ab72be502378d18b931f0e10e8ba94619dd607 Mon Sep 17 00:00:00 2001 From: Ashley Wulber <48420062+wash2@users.noreply.github.com> Date: Wed, 8 Apr 2026 01:38:18 -0400 Subject: [PATCH] fix!(progress_bar): remove unused generic Message type --- src/widget/progress_bar/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widget/progress_bar/mod.rs b/src/widget/progress_bar/mod.rs index ea069ffc..4e277b0a 100644 --- a/src/widget/progress_bar/mod.rs +++ b/src/widget/progress_bar/mod.rs @@ -3,21 +3,21 @@ pub mod linear; pub mod style; /// A spinner / throbber widget that can be used to indicate that some operation is in progress. -pub fn indeterminate_circular() -> circular::Circular { +pub fn indeterminate_circular() -> circular::Circular { circular::Circular::new() } /// A linear throbber widget that can be used to indicate that some operation is in progress. -pub fn indeterminate_linear() -> linear::Linear { +pub fn indeterminate_linear() -> linear::Linear { linear::Linear::new() } /// A circular progress spinner widget that can be used to indicate the progress of some operation. -pub fn determinate_circular(progress: f32) -> circular::Circular { +pub fn determinate_circular(progress: f32) -> circular::Circular { circular::Circular::new().progress(progress) } /// A linear progress bar widget that can be used to indicate the progress of some operation. -pub fn determinate_linear(progress: f32) -> linear::Linear { +pub fn determinate_linear(progress: f32) -> linear::Linear { linear::Linear::new().progress(progress) }