Oh no don't clone errors
Clone is not implemented for error sources
This commit is contained in:
parent
5c7d50a8f5
commit
3002a19b1c
|
@ -19,7 +19,7 @@ pub struct ClientConfig {
|
||||||
pub password: String,
|
pub password: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Snafu)]
|
#[derive(Debug, Snafu)]
|
||||||
pub enum ConfigError {
|
pub enum ConfigError {
|
||||||
#[snafu(display("Invalid configuration file format at: {path}"))]
|
#[snafu(display("Invalid configuration file format at: {path}"))]
|
||||||
Config { source: toml::de::Error, path: String },
|
Config { source: toml::de::Error, path: String },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user