rename lifetimes.
This commit is contained in:
parent
30042ddcfe
commit
0c77951ecc
@ -71,8 +71,8 @@ impl<'r> NomContext<'r> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, 'b> Parser<&'b str, &'b str, VerboseError<&'b str>> for FailChecker<'a> {
|
||||
fn parse(&mut self, i: &'b str) -> IResult<&'b str, &'b str, VerboseError<&'b str>> {
|
||||
impl<'r, 's> Parser<&'s str, &'s str, VerboseError<&'s str>> for FailChecker<'r> {
|
||||
fn parse(&mut self, i: &'s str) -> IResult<&'s str, &'s str, VerboseError<&'s str>> {
|
||||
let fail_func = match &self.0.fail_matcher {
|
||||
ChainBehavior::AndParent(inner) => inner,
|
||||
ChainBehavior::IgnoreParent(inner) => inner,
|
||||
|
Loading…
Reference in New Issue
Block a user