From 699e380dd2d6ebf61849dba8c225b512e9fa816a Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 24 Dec 2024 00:44:27 +0100 Subject: style: add `max_width=80` to rustfmt.toml --- iced_builder/src/error.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'iced_builder/src/error.rs') 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), #[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), -- cgit v1.2.3