From b9ad1dc5fbbc3f1c75433b929d5394f2a067b560 Mon Sep 17 00:00:00 2001 From: Eric Scouten Date: Wed, 27 Dec 2023 20:59:11 -0800 Subject: [PATCH] Remove unused code --- src/error.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/error.rs b/src/error.rs index 048801c..fb87ab7 100644 --- a/src/error.rs +++ b/src/error.rs @@ -1,5 +1,5 @@ use nom::{ - error::{ErrorKind, FromExternalError, ParseError}, + error::{ErrorKind, ParseError}, IResult, }; use nom_span::Spanned; @@ -51,12 +51,6 @@ impl From>>> for Error { } } -impl FromExternalError for Error { - fn from_external_error(_input: I, kind: ErrorKind, _e: E) -> Error { - Error::NomError(kind) - } -} - /// Holds the result of AsciiDoc parsing functions. /// /// Note that this type is also a [`Result`], so the usual functions (`map`,