Combine the error types.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
use nom::combinator::not;
|
||||
|
||||
use crate::parser::error::CustomError;
|
||||
use crate::parser::error::MyError;
|
||||
|
||||
use super::error::Res;
|
||||
use super::object::PlainText;
|
||||
use super::Context;
|
||||
use crate::error::CustomError;
|
||||
use crate::error::MyError;
|
||||
use crate::error::Res;
|
||||
use nom::combinator::not;
|
||||
|
||||
#[tracing::instrument(ret, level = "debug")]
|
||||
pub fn plain_text<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, PlainText<'s>> {
|
||||
|
||||
Reference in New Issue
Block a user