Remove unused enum variant
This commit is contained in:
parent
99e1e41aad
commit
54dd7c0d7e
1 changed files with 0 additions and 2 deletions
|
@ -17,7 +17,6 @@ pub mod error {
|
|||
*/
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum ConfigErrorKind {
|
||||
ConfigParsingFailed,
|
||||
NoConfigFileFound,
|
||||
}
|
||||
|
||||
|
@ -54,7 +53,6 @@ pub mod error {
|
|||
*/
|
||||
pub fn as_str(e: &ConfigError) -> &'static str {
|
||||
match e.kind() {
|
||||
ConfigErrorKind::ConfigParsingFailed => "Config parsing failed",
|
||||
ConfigErrorKind::NoConfigFileFound => "No config file found",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue