Oh no don't clone errors

Clone is not implemented for error sources
This commit is contained in:
programmer programmer 2022-10-28 20:28:38 +02:00
parent 5c7d50a8f5
commit 3002a19b1c

View File

@ -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 },