Using a mutable reference breaks clone.
This commit is contained in:
@@ -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!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user