summaryrefslogtreecommitdiff
path: root/iced_builder/src/error.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2024-12-24 00:44:27 +0100
committerpml68 <contact@pml68.dev>2024-12-24 00:44:36 +0100
commit699e380dd2d6ebf61849dba8c225b512e9fa816a (patch)
treec3f9e75c840ba4256917d705f565022274041213 /iced_builder/src/error.rs
parentrefactor: apply a few clippy suggestions (diff)
downloadiced-builder-699e380dd2d6ebf61849dba8c225b512e9fa816a.tar.gz
style: add `max_width=80` to rustfmt.toml
Diffstat (limited to 'iced_builder/src/error.rs')
-rw-r--r--iced_builder/src/error.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/iced_builder/src/error.rs b/iced_builder/src/error.rs
index 2fea184..8876016 100644
--- a/iced_builder/src/error.rs
+++ b/iced_builder/src/error.rs
@@ -1,5 +1,6 @@
use std::io;
use std::sync::Arc;
+
use thiserror::Error;
#[derive(Debug, Clone, Error)]
@@ -10,7 +11,9 @@ pub enum Error {
FormatError(Arc<rust_format::Error>),
#[error("The element tree contains no matching element")]
NonExistentElement,
- #[error("The file dialog has been closed without selecting a valid option")]
+ #[error(
+ "The file dialog has been closed without selecting a valid option"
+ )]
DialogClosed,
#[error("{0}")]
Other(String),