From 23b841913ba14a969c57fade93d1fa915ca40439 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 20 Apr 2019 15:02:38 +0200 Subject: [PATCH] Remove unused error variant --- src/error.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index b639c22..3f8d533 100644 --- a/src/error.rs +++ b/src/error.rs @@ -6,7 +6,6 @@ pub(crate) enum Error { Git(git2::Error), Internal, Io(std::io::Error), - ParseColor, Serial(serde_json::Error), } @@ -17,7 +16,6 @@ impl std::fmt::Display for Error { Error::Git(e) => write!(fmt, "Git({})", e), Error::Internal => write!(fmt, "Internal Error"), Error::Io(e) => write!(fmt, "Io({})", e), - Error::ParseColor => write!(fmt, "Parse error"), Error::Serial(e) => write!(fmt, "Serial({})", e), } }