From 4da66f8cc0407b5c928b560fb36e75ba5bc5b2d9 Mon Sep 17 00:00:00 2001 From: wiiznokes <78230769+wiiznokes@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:08:47 +0200 Subject: [PATCH] fix: change message bound for toaster --- src/widget/toaster/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/toaster/mod.rs b/src/widget/toaster/mod.rs index b61038fe..4d96a838 100644 --- a/src/widget/toaster/mod.rs +++ b/src/widget/toaster/mod.rs @@ -147,7 +147,7 @@ impl Toasts { pub fn push( &mut self, mut toast: Toast, - ) -> Command> + ) -> Command where Message: From, {