Not general enough error.
This commit is contained in:
parent
8695d32f40
commit
661ccfb30c
@ -42,7 +42,12 @@ fn flat_text_element<'s, 'r>(
|
||||
))(i)
|
||||
}
|
||||
|
||||
fn flat_bold<'s, 'r>(i: &'s str, context: &'r TestContext<ContextData>) -> Res<&'s str, TextElement<'s>> {
|
||||
fn flat_bold<'s, 'r>(
|
||||
i: &'s str,
|
||||
context: &'r TestContext<ContextData>,
|
||||
) -> Res<&'s str, TextElement<'s>> {
|
||||
let new_context =
|
||||
context.with_additional_fail_matcher(Rc::new(RefCell::new(recognize(bold_end))));
|
||||
// let new_context = context.without_bold(Rc::new(RefCell::new(recognize(bold_end))));
|
||||
todo!()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user