rename lifetimes.

This commit is contained in:
Tom Alexander 2022-10-15 17:48:27 -04:00
parent 30042ddcfe
commit 0c77951ecc
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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,