OMFG it built.

This commit is contained in:
Tom Alexander 2022-12-10 23:51:04 -05:00
parent 7d40b8ae24
commit 0aa8926d6b
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 8 additions and 8 deletions

View File

@ -51,8 +51,8 @@ fn context_many_till<'r, 's, I, O, E, F, M, T>(
where
I: Clone + InputLength,
E: ParseError<I>,
M: Fn(Context<'r, 's>, I) -> IResult<I, O, E> + 'r,
T: Fn(Context<'r, 's>, I) -> IResult<I, F, E> + 'r,
M: for<'x> Fn(Context<'x, 's>, I) -> IResult<I, O, E> + 'r,
T: for<'x> Fn(Context<'x, 's>, I) -> IResult<I, F, E> + 'r,
O: Into<Token<'s>>,
{
move |mut i: I| {
@ -133,12 +133,12 @@ pub fn paragraph<'s, 'r>(
fail_matcher: ChainBehavior::AndParent(Some(&paragraph_end)),
}));
let ret = context_many_till(&paragraph_context, flat_text_element, context_paragraph_end)(i);
// match ret {
// Ok(_) => todo!(),
// Err(e) => {
// return Err(e);
// }
// };
match ret {
Ok(_) => todo!(),
Err(e) => {
return Err(e);
}
};
// TODO: FIX THIS
// ret
todo!()