Using a mutable reference breaks clone.

This commit is contained in:
Tom Alexander
2022-10-14 20:25:10 -04:00
parent 112aba3137
commit add717071c
3 changed files with 4 additions and 4 deletions

View File

@@ -25,5 +25,6 @@ fn flat_text_element<'s, 'r>(
i: &'s str,
context: &'r mut NomContext,
) -> Res<&'s str, TextElement<'s>> {
not(&mut context.fail_matcher)(i)?;
todo!()
}