From 3002a19b1ce2c64a9f31d560e8501a29979cae13 Mon Sep 17 00:00:00 2001 From: "programmer@kl.netlib.re" Date: Fri, 28 Oct 2022 20:28:38 +0200 Subject: [PATCH] Oh no don't clone errors Clone is not implemented for error sources --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 254e8ac..b2f1993 100644 --- a/src/config.rs +++ b/src/config.rs @@ -19,7 +19,7 @@ pub struct ClientConfig { pub password: String, } -#[derive(Clone, Debug, Snafu)] +#[derive(Debug, Snafu)] pub enum ConfigError { #[snafu(display("Invalid configuration file format at: {path}"))] Config { source: toml::de::Error, path: String },