Does not need to consume the NomContext since we are cloning the fail matcher.

This commit is contained in:
Tom Alexander 2022-07-17 18:20:18 -04:00
parent 804c8fd0b7
commit cad8f4bd77
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -42,7 +42,7 @@ where
}
pub fn with_additional_fail_matcher<G>(
self,
&self,
mut additional_fail_matcher: G,
) -> NomContext<
impl Clone + for<'o> FnMut(&'o str) -> IResult<&'o str, &'o str, VerboseError<&'o str>>,