remove FmtError variant of ErrorKind
@@ -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 {
