Not general enough error.

This commit is contained in:
Tom Alexander 2022-10-30 05:09:01 -04:00
parent 8695d32f40
commit 661ccfb30c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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!()
}