From 13ec2282c914c076ff50ddc44bee1feeb7983ae8 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sat, 1 Mar 2025 02:29:03 +0100 Subject: refactor: make config an `Arc` in `App` --- src/error.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 002a1fc..9e1ee9d 100644 --- a/src/error.rs +++ b/src/error.rs @@ -7,16 +7,16 @@ use thiserror::Error; #[error(transparent)] pub enum Error { IO(Arc), - #[error("config does not exist")] + #[error("Config does not exist")] ConfigMissing, #[error("JSON parsing error: {0}")] SerdeJSON(Arc), #[error("TOML parsing error: {0}")] SerdeTOML(#[from] toml::de::Error), RustFmt(Arc), - #[error("the element tree contains no matching element")] + #[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