remove FmtError variant of ErrorKind

This commit is contained in:
ConnorSkees 2020-04-21 18:23:31 -04:00
parent 3805eaab2b
commit 5480937b4d

View File

@ -38,7 +38,6 @@ enum SassErrorKind {
loc: SpanLoc,
},
IoError(io::Error),
FmtError(fmt::Error),
FromUtf8Error(String),
}
@ -84,14 +83,6 @@ impl From<io::Error> for SassError {
}
}
impl From<std::fmt::Error> for SassError {
fn from(error: std::fmt::Error) -> Self {
SassError {
kind: SassErrorKind::FmtError(error),
}
}
}
impl From<FromUtf8Error> for SassError {
#[inline]
fn from(error: FromUtf8Error) -> Self {