Remove unused enum variant

This commit is contained in:
Matthias Beyer 2016-04-17 20:47:49 +02:00
parent 99e1e41aad
commit 54dd7c0d7e

View file

@ -17,7 +17,6 @@ pub mod error {
*/ */
#[derive(Clone, Debug, PartialEq)] #[derive(Clone, Debug, PartialEq)]
pub enum ConfigErrorKind { pub enum ConfigErrorKind {
ConfigParsingFailed,
NoConfigFileFound, NoConfigFileFound,
} }
@ -54,7 +53,6 @@ pub mod error {
*/ */
pub fn as_str(e: &ConfigError) -> &'static str { pub fn as_str(e: &ConfigError) -> &'static str {
match e.kind() { match e.kind() {
ConfigErrorKind::ConfigParsingFailed => "Config parsing failed",
ConfigErrorKind::NoConfigFileFound => "No config file found", ConfigErrorKind::NoConfigFileFound => "No config file found",
} }
} }