Going to go back to fn objects in the hope that I don't have to specify lifetimes.

This commit is contained in:
Tom Alexander
2022-07-16 21:16:34 -04:00
parent 5c39a6a7bf
commit 9d8fddb44d
3 changed files with 39 additions and 61 deletions

View File

@@ -128,7 +128,7 @@ pub fn link_end(input: &str) -> Res<&str, TextElement> {
}
pub fn paragraph(input: &str) -> Res<&str, (Vec<TextElement>, &str)> {
let initial_context = NomContext::new(&paragraph_end);
// let initial_context = NomContext::new(&paragraph_end);
// many_till(text_element(initial_context), paragraph_end)(input)
todo!()
}