diff options
| author | pml68 <contact@pml68.dev> | 2025-02-16 13:49:34 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-02-16 13:49:34 +0100 |
| commit | 9342bd0e57126909776b95b0761ad5bef3b416f6 (patch) | |
| tree | 2fba1bfc5ff691c0c601a4caa28468bfa558359c /src/error.rs | |
| parent | chore: update dependencies (diff) | |
| download | iced-builder-9342bd0e57126909776b95b0761ad5bef3b416f6.tar.gz | |
refactor: random stuff
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index f4011bd..09e6e86 100644 --- a/src/error.rs +++ b/src/error.rs @@ -53,3 +53,9 @@ impl From<String> for Error { Self::Other(value) } } + +impl From<Error> for String { + fn from(value: Error) -> Self { + value.to_string() + } +} |
