From 65d3c249c9da370e26521a5ff409b6e6fdad4779 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 6 Nov 2024 14:22:41 +0100 Subject: feat: animated theme switching with `iced_anim` crate c c --- iced_builder/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iced_builder/src/error.rs') diff --git a/iced_builder/src/error.rs b/iced_builder/src/error.rs index edb57b9..ab102a6 100644 --- a/iced_builder/src/error.rs +++ b/iced_builder/src/error.rs @@ -36,8 +36,8 @@ impl From for Error { } } -impl From<&'static str> for Error { - fn from(value: &'static str) -> Self { +impl From<&str> for Error { + fn from(value: &str) -> Self { Self::Other(value.to_owned()) } } -- cgit v1.2.3