From 5480937b4d479af60247600dae24d97fe87a2557 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Tue, 21 Apr 2020 18:23:31 -0400 Subject: [PATCH] remove FmtError variant of ErrorKind --- src/error.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/error.rs b/src/error.rs index 027003e..68efd05 100644 --- a/src/error.rs +++ b/src/error.rs @@ -38,7 +38,6 @@ enum SassErrorKind { loc: SpanLoc, }, IoError(io::Error), - FmtError(fmt::Error), FromUtf8Error(String), } @@ -84,14 +83,6 @@ impl From for SassError { } } -impl From for SassError { - fn from(error: std::fmt::Error) -> Self { - SassError { - kind: SassErrorKind::FmtError(error), - } - } -} - impl From for SassError { #[inline] fn from(error: FromUtf8Error) -> Self {