Cleanup.
This commit is contained in:
parent
ef60559428
commit
c74b802038
@ -23,10 +23,3 @@ impl<I> ParseError<I> for CustomError<I> {
|
||||
other
|
||||
}
|
||||
}
|
||||
|
||||
// Err(nom::Err::Error(nom::error::Error::from_error_kind(input, nom::error::ErrorKind::Char)))
|
||||
|
||||
fn test_parser<'a>(i: &'a str) -> IResult<&'a str, &'a str, CustomError<&'a str>> {
|
||||
Err(nom::Err::Error(CustomError::MyError(MyError(i))))?;
|
||||
tag("sdjfisdfjisudfjuwiefweufefefjwef")(i)
|
||||
}
|
||||
|
@ -28,7 +28,6 @@ use nom::IResult;
|
||||
use super::error::CustomError;
|
||||
|
||||
pub type Res<T, U> = IResult<T, U, CustomError<T>>;
|
||||
pub type ResOld<T, U> = IResult<T, U, VerboseError<T>>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum TextElement<'a> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user