diff options
| author | pml68 <contact@pml68.me> | 2024-11-06 14:22:41 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-11-06 16:26:36 +0100 |
| commit | 65d3c249c9da370e26521a5ff409b6e6fdad4779 (patch) | |
| tree | ac8f2a1d05e481da6d3f82cce6081b853a71269c /iced_builder/src/error.rs | |
| parent | fix: error when dropping new element on element list (diff) | |
| download | iced-builder-65d3c249c9da370e26521a5ff409b6e6fdad4779.tar.gz | |
feat: animated theme switching with `iced_anim` crate
c
c
Diffstat (limited to 'iced_builder/src/error.rs')
| -rw-r--r-- | iced_builder/src/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<rust_format::Error> 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()) } } |
