Fix clippy errors.
This commit is contained in:
@@ -6,9 +6,9 @@ pub(crate) type Res<T, U> = IResult<T, U, CustomError>;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum CustomError {
|
||||
Static(&'static str),
|
||||
IO(std::io::Error),
|
||||
Parser(ErrorKind),
|
||||
Static(#[allow(dead_code)] &'static str),
|
||||
IO(#[allow(dead_code)] std::io::Error),
|
||||
Parser(#[allow(dead_code)] ErrorKind),
|
||||
}
|
||||
|
||||
impl<I: std::fmt::Debug> ParseError<I> for CustomError {
|
||||
|
||||
Reference in New Issue
Block a user